Skip to content

Commit

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

modernise config
  • Loading branch information
tomato42 committed May 25, 2020
1 parent 9912a51 commit c8564a2
Showing 1 changed file with 42 additions and 36 deletions.
78 changes: 42 additions & 36 deletions .travis.yml
@@ -1,3 +1,6 @@
dist: trusty
sudo: false
cache: pip
language: python

# whitelist branches on which tests will be run
Expand All @@ -14,54 +17,51 @@ addons:
- swig
# needed for GMPY
- libgmp-dev
before_cache:
- rm -f $HOME/.cache/pip/log/debug.log

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

env:
- TACKPY=true
- TACKPY=false

matrix:
exclude:
- env: TACKPY=true
# workaround for 3.7 not available in default configuration
# travis-ci/travis-ci#9815
- python: 3.7
jobs:
include:
- python: 2.6
env: TACKPY=false
- python: 2.7
env: TACKPY=false
- python: 3.3
env: TACKPY=false
- python: 3.4
env: TACKPY=false
- python: 3.5
env: TACKPY=false
- python: 3.6
env: TACKPY=false
- python: 3.7
dist: xenial
sudo: true
env: TACKPY=false
- python: 3.8
dist: xenial
sudo: true
env: TACKPY=false
- python: 2.7
env: TACKPY=true
- python: 3.4
env: TACKPY=true
- python: 2.7
env: M2CRYPTO=true
- python: 3.4
env: M2CRYPTO=true
- python: 3.5
env: M2CRYPTO=true
- python: 3.6
env: M2CRYPTO=true
# workaround for 3.7 not available in default configuration
# travis-ci/travis-ci#9815
- python: 3.7
dist: xenial
sudo: true
env: M2CRYPTO=true
- python: 3.8
dist: xenial
sudo: true
env: M2CRYPTO=true
- python: 2.7
env: PYCRYPTO=true
- python: 3.4
env: PYCRYPTO=true
- python: 3.5
env: PYCRYPTO=true
- python: 3.6
Expand All @@ -70,10 +70,12 @@ matrix:
dist: xenial
sudo: true
env: PYCRYPTO=true
- python: 3.8
dist: xenial
sudo: true
env: PYCRYPTO=true
- python: 2.7
env: GMPY=true
- python: 3.4
env: GMPY=true
- python: 3.5
env: GMPY=true
- python: 3.6
Expand All @@ -82,10 +84,12 @@ matrix:
dist: xenial
sudo: true
env: GMPY=true
- python: 3.8
dist: xenial
sudo: true
env: GMPY=true
- python: 2.7
env: M2CRYPTO=true PYCRYPTO=true GMPY=true
- python: 3.4
env: M2CRYPTO=true PYCRYPTO=true GMPY=true
- python: 3.5
env: M2CRYPTO=true PYCRYPTO=true GMPY=true
- python: 3.6
Expand All @@ -94,6 +98,10 @@ matrix:
dist: xenial
sudo: true
env: M2CRYPTO=true PYCRYPTO=true GMPY=true CC_COV=true
- python: 3.8
dist: xenial
sudo: true
env: M2CRYPTO=true PYCRYPTO=true GMPY=true

before_install:
- |
Expand Down Expand Up @@ -163,8 +171,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 c8564a2

Please sign in to comment.