diff options
author | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-09-16 12:34:56 +0200 |
---|---|---|
committer | Sybren A. Stüvel <sybren@stuvel.eu> | 2018-09-16 13:30:34 +0200 |
commit | fd4cc60b7ac4c33bfc02c80377772244f2441625 (patch) | |
tree | 6e215c9743107ec36051737ddccc1a8c4b924f72 | |
parent | f4e2e1e1de70a3c3a8153047d4c91e9249a7d047 (diff) | |
download | rsa-git-fd4cc60b7ac4c33bfc02c80377772244f2441625.tar.gz |
Fixes for Travis CI
- Remove `--ignore-pipfile`. This option makes Pipenv install from the
`Pipfile.lock` only, ignoring the `Pipfile` itself. In a sense this is
good, because it tests with the locked dependencies. However, it
breaks when you lock on Python 3.6 but test on Python 3.4 or 2.7.
We'll have to re-visit this when dropping support for older Pythons.
- pypy 3.6 -> 3.5
- Drop `pypy` from Travis CI testing
We still test with 'pypy3.5'. However, Pipenv has an issue with pypy 2.7.
See https://github.com/pypa/pipenv/issues/2449
- Pypy3.5 seems to want pathlib2 when running on Travis CI
-rw-r--r-- | .travis.yml | 17 | ||||
-rw-r--r-- | Pipfile | 1 | ||||
-rw-r--r-- | tox.ini | 2 |
3 files changed, 13 insertions, 7 deletions
diff --git a/.travis.yml b/.travis.yml index 0df42d2..9b4da02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,15 +8,20 @@ cache: pip # See: https://github.com/travis-ci/travis-ci/issues/9815 python: - - 2.7 - - 3.4 - - 3.5 - - 3.6 - - "pypy" + - "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 pipenv - - pipenv install --dev --ignore-pipfile + - pipenv install --dev script: - pipenv run py.test @@ -13,6 +13,7 @@ Sphinx = "*" coveralls = "*" pytest = "*" pytest-cov = "*" +pathlib2 = {version = "*", markers="python_version < '3.6'"} [requires] python_version = "3.6" @@ -8,7 +8,7 @@ addopts = -v --cov rsa --cov-report term-missing [testenv] deps = pipenv commands= - pipenv install --dev --ignore-pipfile + pipenv install --dev pipenv run py.test tests [testenv:py36] |