Skip to content

Commit 70ac595

Browse files
committed
Update .travis.yml. Because py26 could not be used in travis.
1 parent 5d48e33 commit 70ac595

1 file changed

Lines changed: 16 additions & 15 deletions

File tree

.travis.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
language: python
2-
env:
3-
matrix:
4-
- TOXENV=py26
5-
- TOXENV=py27
6-
- TOXENV=py32
7-
- TOXENV=py33
8-
- TOXENV=py34
9-
- TOXENV=py35
10-
- TOXENV=py36
11-
- TOXENV=pypy
12-
- TOXENV=flake8
2+
python:
3+
- "2.6"
4+
- "2.7"
5+
- "3.2"
6+
- "3.3"
7+
- "3.4"
8+
- "3.5"
9+
- "3.6"
10+
- "pypy"
1311
before_install:
1412
- git submodule update --init
1513
- python setup.py dataset
1614
install:
1715
- pip install tox
18-
- if test "$TOXENV" = py36 ; then pip install coveralls ; fi
19-
- if test "$TOXENV" = py32 ; then pip install "virtualenv<14.0.0" ; fi
20-
script: tox
16+
- pip install tox-travis
17+
- if test "$TRAVIS_PYTHON_VERSION" = 3.6 ; then pip install coveralls ; fi
18+
- if test "$TRAVIS_PYTHON_VERSION" = 3.2 ; then pip install "virtualenv<14.0.0" ; fi
19+
script:
20+
- tox
21+
- if test "$TRAVIS_PYTHON_VERSION" = 3.6 ; then tox -e flake8 ; fi
2122
after_script:
22-
- if test "$TOXENV" = py36 ; then coveralls ; fi
23+
- if test "$TRAVIS_PYTHON_VERSION" = 3.6 ; then coveralls ; fi

0 commit comments

Comments
 (0)