Skip to content

Commit 1d89ec3

Browse files
committed
Handle version-specific dependencies w/ PEP 508
1 parent 637f0c7 commit 1d89ec3

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.travis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ python:
1212
- pypy3
1313
install:
1414
- travis_retry pip install -r requirements.txt
15+
- travis_retry pip install -r requirements-dev.txt
1516
- travis_retry pip install coveralls
16-
- if [ "$TRAVIS_PYTHON_VERSION" != "3.3" ]; then travis_retry pip install hypothesis; fi
1717
script:
1818
- coverage run --source=jsonpointer tests.py
1919
after_script:
@@ -23,8 +23,6 @@ addons:
2323
apt:
2424
packages:
2525
- pandoc
26-
before_deploy:
27-
- pip install -r requirements-dev.txt
2826
deploy:
2927
provider: pypi
3028
user: skoegl

requirements-dev.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
wheel
22
pypandoc
3-
hypothesis >= 3
3+
hypothesis>=3; python_version=="2.7" or python_version>"3.3"

0 commit comments

Comments
 (0)