summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorHugo van Kemenade <hugovk@users.noreply.github.com>2019-11-16 21:31:31 +0200
committerIlya Etingof <etingof@gmail.com>2019-11-16 20:31:31 +0100
commitfcf7c502c49033a31ed27678fd4b93655e9f6f82 (patch)
treef0c22c4be1c93fd707243990fe4cf3496b2e6441 /.travis.yml
parenta7d2ac036866e5f437bd6f9a9f01723f601b4073 (diff)
downloadpyasn1-git-fcf7c502c49033a31ed27678fd4b93655e9f6f82.tar.gz
Add support for Python 3.8, drop EOL 3.4 (#182)
* Drop support for EOL Python 3.4 * Remove Py2.5 workarounds * Change Travis setup to test on default Xenial * Add support for Python 3.8 and update changelog
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml35
1 files changed, 8 insertions, 27 deletions
diff --git a/.travis.yml b/.travis.yml
index 98314f4..bfbfa0e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,43 +2,24 @@ language: python
cache: pip
matrix:
include:
- - os: linux
- dist: trusty
- python: '2.7'
- - os: linux
- dist: trusty
- python: '3.4'
- - os: linux
- dist: trusty
- python: '3.5'
- - os: linux
- dist: trusty
- python: '3.6'
- - os: linux
- dist: xenial
- python: '3.7'
- - os: linux
- dist: trusty
- python: 'nightly'
- - os: linux
- dist: trusty
- python: 'pypy'
- - os: linux
- dist: trusty
- python: 'pypy3'
+ - python: '2.7'
+ - python: '3.5'
+ - python: '3.6'
+ - python: '3.7'
+ - python: 'nightly'
+ - python: 'pypy'
+ - python: 'pypy3'
install:
- pip install codecov
- pip install -r requirements.txt -r devel-requirements.txt
- pip install -e .
script:
- PYTHONPATH=.:$PYTHONPATH python tests/__main__.py
- - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then (make -C docs html); fi
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then (make -C docs html); fi
- - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then (make -C docs html); fi
- - if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then (make -C docs html); fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then (make -C docs html); fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then (make -C docs html); fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.7' ]]; then (make -C docs html); fi
+ - if [[ $TRAVIS_PYTHON_VERSION == '3.8' ]]; then (make -C docs html); fi
- if [[ $TRAVIS_PYTHON_VERSION == 'nightly' ]]; then (make -C docs html); fi
after_success:
- PYTHONPATH=.:$PYTHONPATH coverage run --omit=*test* tests/__main__.py