-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (58 loc) · 1.42 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
57
58
sudo: false
language: python
notifications:
email: false
env:
- DJANGO_VERSION=1.6.11
- DJANGO_VERSION=1.7.11
- DJANGO_VERSION=1.8.18
- DJANGO_VERSION=1.9.13
- DJANGO_VERSION=1.10.8
- DJANGO_VERSION=1.11.9
python:
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
matrix:
exclude:
- python: 2.7
env: DJANGO_VERSION=2.0.1
- python: 3.3
env: DJANGO_VERSION=1.11.9
- python: 3.4
env: DJANGO_VERSION=1.6.11
- python: 3.5
env: DJANGO_VERSION=1.6.11
- python: 3.3
env: DJANGO_VERSION=1.9.13
- python: 3.3
env: DJANGO_VERSION=1.10.8
- python: 3.5
env: DJANGO_VERSION=1.7.11
- python: 3.5
env: DJANGO_VERSION=1.8.18
- python: 3.6
env: DJANGO_VERSION=1.6.11
- python: 3.6
env: DJANGO_VERSION=1.9.13
- python: 3.6
env: DJANGO_VERSION=1.10.8
- python: 3.6
env: DJANGO_VERSION=1.7.11
- python: 3.6
env: DJANGO_VERSION=1.8.18
before_install:
- pip install Django==$DJANGO_VERSION
- if [[ $TRAVIS_PYTHON_VERSION == "2.6" ]]; then pip install flake8==2.6.2; fi
- if [[ -f min_requirements.txt && "$MINREQ" -eq 1 ]]; then
mv min_requirements.txt requirements.txt ;
fi
- test ! -f rnd_requirements.txt || pip install --no-deps -r rnd_requirements.txt
- test ! -f rnd_requirements.txt || pip install -r rnd_requirements.txt ;
- pip install -r tests/requirements.txt
script:
- make test
after_success:
codecov