Skip to content

Commit

Permalink
Travis-CI: The sudo: tag is deprecated in Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss committed Sep 22, 2019
1 parent 60c4ca2 commit ab68602
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .travis.yml
@@ -1,15 +1,14 @@
sudo: false
cache:
directories:
- "$HOME"
language: python
python:
- 2.7.8
- 2.7
- 2.7.8
- 2.7
install:
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then travis_retry pip install -r requirements.txt ; fi
- if [[ $TRAVIS_PYTHON_VERSION == 2* ]]; then travis_retry pip install coveralls ; fi
- travis_retry pip install coveralls flake8 -r requirements.txt
script:
- flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- python setup.py test
- coverage run --source=src setup.py test
after_success: coveralls
Expand Down

0 comments on commit ab68602

Please sign in to comment.