Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ matrix:
dist: trusty
- python: 3.7
dist: xenial
- python: 3.8
dist: xenial
env:
- RUN_SNYK=1
- RUN_LINTER=1
Expand All @@ -34,7 +36,9 @@ before_install:
- "if [[ $RUN_SNYK && $SNYK_TOKEN ]]; then sudo apt-get install -y nodejs; npm install -g snyk; fi"
install:
- pip install -r requirements.txt
- pip install requests_mock pylint coveralls yapf
# We require yapf 0.28.0 to work around https://github.com/google/yapf/issues/781
# If that issue is resolved, we should remove the version constraint.
- pip install requests_mock pylint coveralls yapf==0.28.0
- "if [[ $RUN_SNYK && $SNYK_TOKEN ]]; then snyk test --org=maxmind; fi"
script:
- coverage run --source=geoip2 setup.py test
Expand Down