diff options
author | Paul Ganssle <paul@ganssle.io> | 2017-11-06 12:01:41 -0500 |
---|---|---|
committer | Paul Ganssle <paul@ganssle.io> | 2017-11-06 12:01:41 -0500 |
commit | 85dc0153e46f5e1831b2bd59e2344e07122881fa (patch) | |
tree | 5bab0a8485150b88219ce886c9a0c7893fde0d69 | |
parent | d470bde93beff5e01d61bfb0686a4c95e9ea49ae (diff) | |
download | dateutil-85dc0153e46f5e1831b2bd59e2344e07122881fa.tar.gz |
Switch testing and CI scripts to use test_requirements.txt
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | appveyor.yml | 5 | ||||
-rw-r--r-- | setup.py | 1 | ||||
-rw-r--r-- | tox.ini | 3 |
4 files changed, 3 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index 84fbb1f..00b1b4a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,12 +19,10 @@ before_install: # Install codecov - if [[ $TRAVIS_PYTHON_VERSION == '3.2' ]]; then pip install coverage==3.7.1; fi - if [[ $TRAVIS_PYTHON_VERSION < '3.0' ]]; then pip install mock; fi + - pip install -r test_requirements.txt - pip install codecov - - pip install freezegun - - pip install pytest install: - - pip install six - ./ci_tools/retry.sh python updatezinfo.py script: diff --git a/appveyor.yml b/appveyor.yml index 30d7130..d8fdb8a 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -20,11 +20,8 @@ install: - set pip_cmd=%PYTHON%/python.exe -m pip # Download scripts and dependencies - - "%pip_cmd% install six" - - "%pip_cmd% install coverage" + - "%pip_cmd% install -r test_requirements.txt" - "%pip_cmd% install codecov" - - "%pip_cmd% install pytest" - - "%pip_cmd% install freezegun" # This frequently fails with network errors, so we'll retry it up to 5 times # with a 1 minute rate limit. @@ -24,7 +24,6 @@ datetime module available in the Python standard library. package_data={"dateutil.zoneinfo": ["dateutil-zoneinfo.tar.gz"]}, zip_safe=True, requires=["six"], - tests_require=["freezegun", "pytest"], install_requires=["six >=1.5"], # XXX fix when packaging is sane again classifiers=[ 'Development Status :: 5 - Production/Stable', @@ -11,5 +11,4 @@ envlist = [testenv] commands = pytest {posargs} -deps = - six,pytest,freezegun +deps = -rtest_requirements.txt
\ No newline at end of file |