forked from onysos/django-composite-foreignkey
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
60 lines (56 loc) · 1.19 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
59
60
# We do not use sudo
sudo: false
language: python
cache:
pip: true
directories:
- $TRAVIS_BUILD_DIR/.tox
matrix:
fast_finish: true
include:
- env: TOX_ENV=py27-dj111
python: 2.7
- env: TOX_ENV=py34-dj111
python: 3.4
- env: TOX_ENV=py35-dj111
python: 3.5
- env: TOX_ENV=py36-dj111
python: 3.6
- env: TOX_ENV=py34-dj20
python: 3.4
- env: TOX_ENV=py35-dj20
python: 3.5
- env: TOX_ENV=py36-dj20
python: 3.6
- env: TOX_ENV=py37-dj20
sudo: true
dist: xenial
python: 3.7
- env: TOX_ENV=py35-dj21
python: 3.5
- env: TOX_ENV=py36-dj21
python: 3.6
- env: TOX_ENV=py37-dj21
sudo: true
dist: xenial
python: 3.7
- env: TOX_ENV=py35-djmaster
python: 3.5
- env: TOX_ENV=py36-djmaster
python: 3.6
- env: TOX_ENV=py37-djmaster
sudo: true
dist: xenial
python: 3.7
- env: TOX_ENV=flake8
python: 3.6
allow_failures:
- env: TOX_ENV=py35-djmaster
- env: TOX_ENV=py36-djmaster
- env: TOX_ENV=py37-djmaster
# Command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
install:
- pip install -q -U tox
# Command to run tests, e.g. python setup.py test
script:
- tox -e "${TOX_ENV}"