Skip to content

Commit

Permalink
travis fixups
Browse files Browse the repository at this point in the history
make travis execute py3.7 again

modernise config
  • Loading branch information
tomato42 committed May 25, 2020
1 parent 9912a51 commit fa1e339
Showing 1 changed file with 7 additions and 20 deletions.
27 changes: 7 additions & 20 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
dist: trusty
sudo: false
cache: pip
language: python

# whitelist branches on which tests will be run
Expand All @@ -14,20 +17,8 @@ addons:
- swig
# needed for GMPY
- libgmp-dev

python:
- 2.6
- 2.7
- 3.3
- 3.4
- 3.5
- 3.6
- 3.7

# workaround for 3.7 not available in default configuration
# travis-ci/travis-ci#9815
dist: trusty
sudo: false
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log

env:
- TACKPY=true
Expand All @@ -40,6 +31,8 @@ matrix:
# travis-ci/travis-ci#9815
- python: 3.7
include:
- python: 2.6
env: TACKPY=false
- python: 2.7
env: TACKPY=true
- python: 3.4
Expand All @@ -56,7 +49,6 @@ matrix:
# travis-ci/travis-ci#9815
- python: 3.7
dist: xenial
sudo: true
env: M2CRYPTO=true
- python: 2.7
env: PYCRYPTO=true
Expand All @@ -68,7 +60,6 @@ matrix:
env: PYCRYPTO=true
- python: 3.7
dist: xenial
sudo: true
env: PYCRYPTO=true
- python: 2.7
env: GMPY=true
Expand All @@ -80,7 +71,6 @@ matrix:
env: GMPY=true
- python: 3.7
dist: xenial
sudo: true
env: GMPY=true
- python: 2.7
env: M2CRYPTO=true PYCRYPTO=true GMPY=true
Expand All @@ -92,7 +82,6 @@ matrix:
env: M2CRYPTO=true PYCRYPTO=true GMPY=true
- python: 3.7
dist: xenial
sudo: true
env: M2CRYPTO=true PYCRYPTO=true GMPY=true CC_COV=true

before_install:
Expand Down Expand Up @@ -163,8 +152,6 @@ script:
done
fi
sudo: false

after_success:
- travis_retry coveralls
- if [[ $CC_COV == 'true' ]]; then coverage xml; ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT; fi

0 comments on commit fa1e339

Please sign in to comment.