Skip to content

Commit b75144b

Browse files
authored
Work around Travis CI error on Python "nightly" (#326)
* Work around Travis CI error on Python "nightly" * Keep installation clean as possible when testing Install the linting tools after testing is done. * Clean up
1 parent 8e9d44c commit b75144b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,9 @@ python:
1313
- pypy3
1414
- pypy3.3-5.2-alpha1
1515
install:
16-
- pip install flake8==2.1.0 pep8==1.5.6
17-
- python setup.py install
16+
- pip install --upgrade .
1817
- pip list
19-
- if [ "$TRAVIS_PYTHON_VERSION" != "nightly" ]; then flake8 --version; fi
2018
script:
2119
- python setup.py test -q
22-
- if [ "$TRAVIS_PYTHON_VERSION" != "nightly" ]; then flake8 pyflakes setup.py; fi
20+
- if [ "$TRAVIS_PYTHON_VERSION" != "nightly" ]; then pip install flake8==2.1.0 pep8==1.5.6 && flake8 --version && flake8 pyflakes setup.py; fi
2321
sudo: false

0 commit comments

Comments
 (0)