Add warnings build, update requirements

- coverage 3.7.1 => 4.0 (since py 3.2 is deprecated now)
- pytz 2015 => 2016 (fix deprecation warnings)
- remove maintainer list from test (speed up dep install)
This commit is contained in:
Ryan P Kilby 2016-09-17 15:06:00 -04:00
parent 83e035860d
commit cff0b7c05e
4 changed files with 13 additions and 9 deletions

View File

@ -18,11 +18,11 @@ env:
- DJANGO="django>=1.8.0,<1.9.0" REST_FRAMEWORK="djangorestframework>=3.3,<3.4"
install:
- travis_retry pip install -Ur requirements/travis-ci.txt
- travis_retry pip install $DJANGO $REST_FRAMEWORK
- travis_retry pip install -r requirements/travis-ci.txt
script:
- coverage run --source django_filters runtests.py -v 2
- $W coverage run --source django_filters runtests.py -v 2
- coverage report
notifications:
@ -36,6 +36,10 @@ matrix:
env: DJANGO="django>=1.10.0,<1.11.0" REST_FRAMEWORK="djangorestframework>=3.4,<3.5"
- python: "3.3"
env: DJANGO="django>=1.9.0,<1.10.0" REST_FRAMEWORK="djangorestframework>=3.4,<3.5"
include:
- python: "3.5"
env: W='python -W error -m' DJANGO='https://github.com/django/django/archive/master.tar.gz' REST_FRAMEWORK='djangorestframework>=3.4,<3.5'
allow_failures:
- env: W='python -W error -m' DJANGO='https://github.com/django/django/archive/master.tar.gz' REST_FRAMEWORK='djangorestframework>=3.4,<3.5'
- env: DJANGO='https://github.com/django/django/archive/master.tar.gz' REST_FRAMEWORK='djangorestframework>=3.4,<3.5'
fast_finish: true

View File

@ -13,13 +13,14 @@ pathtools==0.1.2
pbr==1.7.0
pkginfo==1.2.1
Pygments==2.1.3
pytz==2015.7
pytz==2016.6.1
PyYAML==3.11
requests==2.9.1
requests-toolbelt==0.6.0
six==1.9.0
snowballstemmer==1.2.1
Sphinx==1.3.6
sphinx-autobuild==0.6.0
sphinx-rtd-theme==0.1.9
tornado==4.2.1
twine==1.6.5

View File

@ -1,6 +1,3 @@
-r maintainer.txt
coverage==3.7.1
django-discover-runner
mock
sphinx-autobuild
-r travis-ci.txt
django
djangorestframework

View File

@ -1 +1,3 @@
-r test.txt
coverage
mock
pytz