From 1f4dc2ab9dbc3f1f31acbba2288ab970edb4856e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20K=C3=B6gl?= Date: Sun, 31 Dec 2017 14:28:18 +0100 Subject: [PATCH] Handle version-specific dependencies w/ PEP 508 --- .travis.yml | 3 +-- requirements-dev.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2cad004..1fa238e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,7 @@ python: - pypy3 install: - travis_retry pip install -r requirements.txt +- travis_retry pip install -r requirements-dev.txt - travis_retry pip install coveralls - if [ "$TRAVIS_PYTHON_VERSION" != "3.3" ]; then travis_retry pip install hypothesis; fi script: @@ -23,8 +24,6 @@ addons: apt: packages: - pandoc -before_deploy: -- pip install -r requirements-dev.txt deploy: provider: pypi user: skoegl diff --git a/requirements-dev.txt b/requirements-dev.txt index 744c41c..c899c73 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,3 +1,3 @@ wheel pypandoc -hypothesis >= 3 +hypothesis>=3; python_version=="2.7" or python_version>"3.3"