Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfd4cc60

Browse files
committed
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. Seepypa/pipenv#2449- Pypy3.5 seems to want pathlib2 when running on Travis CI
1 parentf4e2e1e commitfd4cc60

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

‎.travis.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,20 @@ cache: pip
88
# See: https://github.com/travis-ci/travis-ci/issues/9815
99

1010
python:
11-
-2.7
12-
-3.4
13-
-3.5
14-
-3.6
15-
-"pypy"
11+
-"2.7"
12+
-"3.4"
13+
-"3.5"
14+
-"3.6"
15+
-"3.7-dev"
16+
17+
# This is blocked by https://github.com/pypa/pipenv/issues/2449,
18+
# also see https://github.com/pypa/pipenv/projects/7
19+
# - "pypy"
20+
-"pypy3.5"
1621

1722
install:
1823
-pip install pipenv
19-
-pipenv install --dev --ignore-pipfile
24+
-pipenv install --dev
2025

2126
script:
2227
-pipenv run py.test

‎Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Sphinx = "*"
1313
coveralls ="*"
1414
pytest ="*"
1515
pytest-cov ="*"
16+
pathlib2 = {version ="*",markers="python_version < '3.6'"}
1617

1718
[requires]
1819
python_version ="3.6"

‎tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ addopts = -v --cov rsa --cov-report term-missing
88
[testenv]
99
deps = pipenv
1010
commands=
11-
pipenv install --dev --ignore-pipfile
11+
pipenv install --dev
1212
pipenv run py.test tests
1313

1414
[testenv:py36]

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp