Skip to content

Commit

Permalink
Merge pull request #665 from tomato42/py37
Browse files Browse the repository at this point in the history
fix py3.7 and py3.8 execution
  • Loading branch information
tomato42 committed May 26, 2020
2 parents 1031292 + 82433c5 commit 162a3b5
Showing 1 changed file with 19 additions and 25 deletions.
44 changes: 19 additions & 25 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,27 @@
language: python

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

# workaround for 3.7 and 3.8 not available in default configuration
# travis-ci/travis-ci#9815
dist: trusty
sudo: false
cache: pip
language: python

matrix:
exclude:
- python: 3.7
- python: 3.8
addons:
apt_packages:
# needed for M2Crypto
- swig
- libssl-dev

before_cache:
- rm -f $HOME/.cache/pip/log/debug.log

jobs:
include:
- python: 2.6
- python: 2.7
- python: 3.3
- python: 3.4
- python: 3.5
- python: 3.6
# workaround for 3.7 and 3.8 not available in default configuration
# travis-ci/travis-ci#9815
- python: 3.7
Expand All @@ -33,12 +35,6 @@ branches:
only:
- master

addons:
apt_packages:
# needed for M2Crypto
- swig
- libssl-dev

before_install:
- |
echo -e "TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST\n" \
Expand Down Expand Up @@ -108,8 +104,6 @@ script:
done
fi
sudo: false

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

0 comments on commit 162a3b5

Please sign in to comment.