1- language : python
2- python :
3- - 2.7
4- - 3.4
5- - 3.5
6- - 3.6
1+ language : none
72matrix :
83 include :
4+ - env :
5+ - PYTHON_VERSION=2.7
6+ - env :
7+ - PYTHON_VERSION=3.4
8+ - env :
9+ - PYTHON_VERSION=3.5
10+ - env :
11+ - PYTHON_VERSION=3.6
12+ - env :
13+ - PYTHON_VERSION=3.7
914 # 0.14.0 is the last version with the old categorical system
1015 # libfortran=1.0 is needed to work around a bug in anaconda
1116 # (https://github.com/pydata/patsy/pull/83#issuecomment-206895923)
12- - python : 3.4
13- env : PANDAS_VERSION_STR="=0.14.0 libgfortran=1.0"
14- - python : 2.7
15- env : PANDAS_VERSION_STR="=0.14.0 libgfortran=1.0"
17+ - env :
18+ - PYTHON_VERSION=3.4
19+ - PANDAS_VERSION_STR="=0.14.0 libgfortran=1.0"
20+ - env :
21+ - PYTHON_VERSION=2.7
22+ - PANDAS_VERSION_STR="=0.14.0 libgfortran=1.0"
1623 # 0.18.0 has is_categorical_dtype in a different place than 0.19.0+
17- - python : 3.4
18- env : PANDAS_VERSION_STR="=0.18.0"
19- - python : 2.7
20- env : PANDAS_VERSION_STR="=0.18.0"
24+ - env :
25+ - PYTHON_VERSION=3.4
26+ - PANDAS_VERSION_STR="=0.18.0"
27+ - env :
28+ - PYTHON_VERSION=2.7
29+ - PANDAS_VERSION_STR="=0.18.0"
2130 # make sure it works without pandas
22- - python : 3.6
23- env : PANDAS_VERSION_STR="NONE"
24- - python : 2.7
25- env : PANDAS_VERSION_STR="NONE"
26- - python : 3.7
27- sudo : true
28- dist : xenial
29- - python : 3.7
30- sudo : true
31- dist : xenial
32- env : PANDAS_VERSION_STR="NONE"
31+ - env :
32+ - PYTHON_VERSION=2.7
33+ - PANDAS_VERSION_STR="NONE"
34+ - env :
35+ - PYTHON_VERSION=3.6
36+ - PANDAS_VERSION_STR="NONE"
37+ - env :
38+ - PYTHON_VERSION=3.7
39+ - PANDAS_VERSION_STR="NONE"
3340
3441# This disables sudo, but makes builds start much faster
3542# See http://blog.travis-ci.com/2014-12-17-faster-builds-with-container-based-infrastructure/
@@ -49,7 +56,7 @@ before_install:
4956 - conda info -a
5057 - export PKGS="numpy scipy coverage nose pip"
5158 - if [ "$PANDAS_VERSION_STR" != "NONE" ]; then export PKGS="${PKGS} pandas${PANDAS_VERSION_STR}"; fi
52- - conda create -q -n testenv python=$TRAVIS_PYTHON_VERSION ${PKGS}
59+ - conda create -q -n testenv python=$PYTHON_VERSION ${PKGS}
5360 - source activate testenv
5461install :
5562 - python setup.py sdist
0 commit comments