11# Use container-based environment (faster startup, allows caches).
22sudo : false
33language : python
4- python :
5- - " 3.5"
6- env :
7- - TESTENV=pypy-3.0.3-1.10-sqlite_file
8- - TESTENV=pypy3-2.9.2-1.8-sqlite_file
9- - TESTENV=pypy3-3.0.3-1.8-sqlite
10- - TESTENV=pypy3-3.0.3-1.8-sqlite_file
11- - TESTENV=python2.7-3.0.3-1.10-mysql_innodb
12- - TESTENV=python2.7-3.0.3-1.10-mysql_myisam
13- - TESTENV=python2.7-3.0.3-1.10-postgres
14- - TESTENV=python2.7-3.0.3-1.7-postgres
15- - TESTENV=python2.7-3.0.3-1.8-postgres
16- - TESTENV=python2.7-3.0.3-1.9-postgres
17- - TESTENV=python2.7-3.0.3-master-postgres
18- - TESTENV=python3.3-3.0.3-1.8-postgres
19- - TESTENV=python3.4-3.0.3-1.10-postgres
20- - TESTENV=python3.5-3.0.3-1.10-postgres
21- - TESTENV=python3.5-3.0.3-1.8-postgres
22- - TESTENV=python3.5-3.0.3-1.9-postgres
23- - TESTENV=python3.5-3.0.3-master-postgres
24- - TESTENV=checkqa-python2.7
25- - TESTENV=checkqa-python3.5
4+
265matrix :
6+ fast_finish : true
7+ include :
8+
9+ - python : 3.5
10+ env : TOXENV=py35-pytest30-djangomaster-postgres
11+ - python : 3.5
12+ env : TOXENV=py35-pytest30-django1.10-postgres
13+ - python : 3.5
14+ env : TOXENV=py35-pytest30-django1.9-postgres
15+ - python : 3.5
16+ env : TOXENV=py35-pytest30-django1.8-postgres
17+ - python : 3.5
18+ env : TOXENV=py35-checkqa
19+
20+ - python : 3.4
21+ env : TOXENV=py34-pytest30-django1.10-postgres
22+
23+ - python : 3.3
24+ env : TOXENV=py34-pytest30-django1.8-postgres
25+
26+ - python : 2.7
27+ env : TOXENV=py27-pytest30-djangomaster-postgres
28+ - python : 2.7
29+ env : TOXENV=py27-pytest30-django1.10-mysql_innodb
30+ - python : 2.7
31+ env : TOXENV=py27-pytest30-django1.10-mysql_myisam
32+ - python : 2.7
33+ env : TOXENV=py27-pytest30-django1.10-postgres
34+ - python : 2.7
35+ env : TOXENV=py27-pytest30-django1.9-postgres
36+ - python : 2.7
37+ env : TOXENV=py27-pytest30-django1.8-postgres
38+ - python : 2.7
39+ env : TOXENV=py27-pytest30-django1.7-postgres
40+ - python : 2.7
41+ env : TOXENV=py27-checkqa
42+
43+ - python : pypy3
44+ env : TOXENV=pypy3-pytest29-django1.8-sqlite_file
45+ - python : pypy3
46+ env : TOXENV=pypy3-pytest30-django1.8-sqlite
47+ - python : pypy3
48+ env : TOXENV=pypy3-pytest30-django1.8-sqlite_file
49+
50+ - python : pypy
51+ env : TOXENV=pypy-pytest30-django1.10-sqlite_file
52+
2753 allow_failures :
28- - env : TESTENV=python2.7-3.0.3-master-postgres
29- - env : TESTENV=python3.5-3.0.3-master-postgres
54+ - env : TOXENV=py27-pytest30-djangomaster-postgres
55+ - env : TOXENV=py35-pytest30-djangomaster-postgres
56+
57+ cache :
58+ directories :
59+ - " ${TRAVIS_BUILD_DIR}/.tox"
60+
3061install :
3162 # Create pip wrapper script, using travis_retry (a function) and
3263 # inject it into tox.ini.
@@ -42,4 +73,7 @@ install:
4273 - diff tox.ini tox.ini.bak && return 1 || true
4374
4475 - pip install tox==2.3.1
45- script : tox -e $TESTENV
76+
77+ script :
78+ - tox
79+ - " find ${TRAVIS_BUILD_DIR}/.tox -name 'log' -o -name '__pycache__' -type d | xargs -I {} rm -rf {}"
0 commit comments