File tree Expand file tree Collapse file tree 2 files changed +29
-22
lines changed
Expand file tree Collapse file tree 2 files changed +29
-22
lines changed Original file line number Diff line number Diff line change @@ -2,34 +2,39 @@ sudo: false
22os : linux
33language : python
44
5+ python :
6+ - 2.6
7+ - 2.7
8+ - pypy
9+ - 3.3
10+ - 3.4
11+ - 3.5
12+ - 3.6
13+ - pypy3.3-5.2-alpha1
14+
15+ env :
16+ - TOXENV=test
17+
518matrix :
619 include :
7- - os : osx
20+ - # The OS X VM doesn't have any Python support at all
21+ # See https://github.com/travis-ci/travis-ci/issues/2312
22+ os : osx
823 language : generic
9- env : TOXENV_SUFFIX=test
24+ env : TOXENV=test
25+ before_install :
26+ - brew update
27+ - brew install python3
28+ - virtualenv $HOME/osx-py3 -p python3
29+ - source $HOME/osx-py3/bin/activate
30+ - python : 2.7
31+ env : TOXENV=stylecheck
32+ - python : 3.6
33+ env : TOXENV=stylecheck
1034
11- python :
12- - " 2.6"
13- - " 2.7"
14- - " pypy"
15- - " 3.3"
16- - " 3.4"
1735
1836install :
19- - # The OS X VM doesn't have any Python support at all
20- # See https://github.com/travis-ci/travis-ci/issues/2312
21- if [ "$TRAVIS_OS_NAME" = "osx" ]; then
22- brew update;
23- brew install python3;
24- virtualenv -p python3 $HOME/osx-py3;
25- . $HOME/osx-py3/bin/activate;
26- export TRAVIS_PYTHON_VERSION="$(python --version | cut -d ' ' -f 2 | cut -d . -f -2)";
27- fi
2837 - pip install tox
2938
3039script :
31- - export TOX_PY="$(echo py$TRAVIS_PYTHON_VERSION | tr -d . | sed -e 's/pypypy/pypy/')"
32- - tox -e $TOX_PY-test
33- - if [ "$TRAVIS_PYTHON_VERSION" = "2.7" ] || [ "$TRAVIS_PYTHON_VERSION" = ".3.5" ]; then
34- tox -e $TOX_PY-stylecheck;
35- fi
40+ - tox
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ environment:
44 - PYTHON : " C:/Python27"
55 - PYTHON : " C:/Python33"
66 - PYTHON : " C:/Python34"
7+ - PYTHON : " C:/Python35"
8+ - PYTHON : " C:/Python36"
79
810init :
911 - " ECHO %PYTHON%"
You can’t perform that action at this time.
0 commit comments