summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorjason <jason@zzq.org>2021-02-08 14:22:26 -0700
committerAsif Saif Uddin <auvipy@gmail.com>2021-02-10 19:05:47 +0600
commit637c8945f2ba1481927478db7d1fa09de43c265b (patch)
tree67e638487090acc01de8ba24f8698a01567c2e48 /.travis.yml
parentd54965b86ce4ede956db70baff0b3d5e9182a007 (diff)
downloadoauthlib-637c8945f2ba1481927478db7d1fa09de43c265b.tar.gz
Remove python 3.5 support; add python 3.8 support
- Python 3.5 has reached end-of-life. - Add support for Python 3.8 - Move dist to bionic (xenial is EOL in April) - Upgrade pip in travis.yml's `before_install`. this should install a wheel for pyca/cryptography - Install rust for pypy builds. It is a requirement for cryptography as no pypy wheels exist.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml19
1 files changed, 10 insertions, 9 deletions
diff --git a/.travis.yml b/.travis.yml
index fbf676b..69eb935 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,22 +1,23 @@
language: python
-python: 3.7
-dist: xenial
+python: 3.8
+dist: bionic
cache: pip
matrix:
include:
- - python: 3.5
- env: TOXENV=py35
- python: 3.6
env: TOXENV=py36
- python: 3.7
env: TOXENV=py37
- - python: 3.7
+ - python: 3.8
+ env: TOXENV=py38
+ - python: 3.8
env: TOXENV=bandit
- - python: pypy3.5
+ - python: pypy3
env: TOXENV=pypy3
-install:
-- pip install -U setuptools
-- pip install tox coveralls
+before_install:
+ - python -m pip install --upgrade pip setuptools
+ - python -m pip install tox coveralls
+ - if [ "$TOXENV" == "pypy3" ]; then curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && source $HOME/.cargo/env ; fi
script: tox
after_success: COVERALLS_PARALLEL=true coveralls
notifications: