forked from nvbn/django-bower
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (56 loc) · 1.31 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
env:
matrix:
- DJANGO_VERSION=1.11
- DJANGO_VERSION=2.0
- DJANGO_VERSION=2.1
- DJANGO_VERSION=2.2
- DJANGO_VERSION=3.0
- DJANGO_VERSION=3.1
matrix:
exclude:
- python: "3.8"
env: DJANGO_VERSION=1.11
- python: "2.7"
env: DJANGO_VERSION=2.0
- python: "3.8"
env: DJANGO_VERSION=2.0
- python: "2.7"
env: DJANGO_VERSION=2.1
- python: "3.8"
env: DJANGO_VERSION=2.1
- python: "2.7"
env: DJANGO_VERSION=2.2
- python: "2.7"
env: DJANGO_VERSION=3.0
- python: "3.5"
env: DJANGO_VERSION=3.0
- python: "2.7"
env: DJANGO_VERSION=3.1
- python: "3.5"
env: DJANGO_VERSION=3.1
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq sloccount
install:
- npm install -g bower
- pip install -q "Django>=${DJANGO_VERSION},<${DJANGO_VERSION}.99"
- pip install .
- pip install -r requirements_dev.txt
- pip install pep8
- pip install coviolations_app
script:
- mkdir /home/travis/test_root/ -p
- export TEST_PROJECT_ROOT=/home/travis/test_root/
- coverage run runtests.py test djangobower > >(tee stdout.log) 2> >(tee test_out >&2)
after_success:
- coverage report
- pip install --quiet python-coveralls
- coveralls
- covio