Skip to content

Commit 36e4450

Browse files
committed
Use toxenv instead
1 parent 5bc9aea commit 36e4450

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ env:
77
sudo: false
88
install:
99
- travis_retry pip install tox
10-
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install -r requirements-dev.txt; fi
10+
- if [[ $TOXENV == 'py27' ]]; then pip install -r requirements-dev.txt; pip install -e .; fi
1111
script:
1212
- tox
1313
# We only need to run the lint/flake8 checks on one version of python
1414
# So I've arbitrarily chosen python2.7.
15-
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then make check; fi
15+
- if [[ $TOXENV == 'py27' ]]; then make check; fi

0 commit comments

Comments
 (0)