aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2019-02-20 17:16:27 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-02-20 17:16:27 -0800
commitea37697b04e123324d3fc365a0770b7f21371615 (patch)
tree3eb572c3ebc62886710867852e6df4e336e9bab7 /.travis.yml
parent077287dfc3b328e18c3040b723b39ac030d0a2a9 (diff)
parent4b0178de5663c69ab700a8d1ac0ec52937c7de08 (diff)
downloadrsa-ea37697b04e123324d3fc365a0770b7f21371615.tar.gz
Upgrade python/rsa to version-4.0 am: 62dbdd861d am: 2c5625d774
am: 4b0178de56 Change-Id: I30b13be0581b083a2be94ebab238f60e3ee456e8
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml38
1 files changed, 20 insertions, 18 deletions
diff --git a/.travis.yml b/.travis.yml
index 5304305..9b4da02 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,28 +1,30 @@
language: python
-
-# Python 3.5 specified to make tox environment 'py35' work.
-# See: https://github.com/travis-ci/travis-ci/issues/4794
-python:
- - 3.5
+cache: pip
# Environment changes have to be manually synced with 'tox.ini'.
# See: https://github.com/travis-ci/travis-ci/issues/3024
-env:
- - TOXENV=py26
- - TOXENV=py27
- - TOXENV=py33
- - TOXENV=py34
- - TOXENV=py35
- - TOXENV=pypy
+
+# Python 3.7 is not yet supported by Travis CI.
+# See: https://github.com/travis-ci/travis-ci/issues/9815
+
+python:
+ - "2.7"
+ - "3.4"
+ - "3.5"
+ - "3.6"
+ - "3.7-dev"
+
+# This is blocked by https://github.com/pypa/pipenv/issues/2449,
+# also see https://github.com/pypa/pipenv/projects/7
+# - "pypy"
+ - "pypy3.5"
install:
- - pip install -r requirements.txt
- - pip install coveralls
+ - pip install pipenv
+ - pipenv install --dev
script:
- - tox
+ - pipenv run py.test
after_success:
- # Coveralls submission only for py35 environment, because of being the only
- # one that executes doctest-modules testing, according to tox.ini.
- - if [ ${TOXENV} = "py35" ]; then coveralls; fi
+ - pipenv run coveralls