aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2019-02-21 04:16:14 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-02-21 04:16:14 +0000
commitdca2c7c42822c75da0dcda8434eae82fabe27f05 (patch)
tree3eb572c3ebc62886710867852e6df4e336e9bab7 /.travis.yml
parent57b309b360542fd9b6594bf2240896b6698c8ae1 (diff)
parentea37697b04e123324d3fc365a0770b7f21371615 (diff)
downloadrsa-dca2c7c42822c75da0dcda8434eae82fabe27f05.tar.gz
Snap for 5325928 from ea37697b04e123324d3fc365a0770b7f21371615 to qt-release
Change-Id: I7fba457658db94a0c9140583f960f4a6583e4a9a
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