Skip to content

Commit 9152075

Browse files
author
Jay Hale
committed
Remove unsupported python & Django test cases
1 parent dc0c290 commit 9152075

File tree

2 files changed

+8
-12
lines changed

2 files changed

+8
-12
lines changed

.travis.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ install:
1111
pip install -e .[test]
1212
pip install psycopg2 # Required for Django postgres fields testing
1313
pip install django==$DJANGO_VERSION
14-
if (($(echo "$DJANGO_VERSION <= 1.9" | bc -l))); then # DRF dropped 1.8 and 1.9 support at 3.7.0
15-
pip install djangorestframework==3.6.4
16-
fi
1714
python setup.py develop
1815
elif [ "$TEST_TYPE" = lint ]; then
1916
pip install flake8
@@ -44,13 +41,11 @@ matrix:
4441
env: TEST_TYPE=build DJANGO_VERSION=2.0
4542
- python: '3.6'
4643
env: TEST_TYPE=build DJANGO_VERSION=2.0
47-
- python: '2.7'
48-
env: TEST_TYPE=build DJANGO_VERSION=1.8
49-
- python: '2.7'
50-
env: TEST_TYPE=build DJANGO_VERSION=1.9
51-
- python: '2.7'
52-
env: TEST_TYPE=build DJANGO_VERSION=1.10
53-
- python: '2.7'
44+
- python: '3.5'
45+
env: TEST_TYPE=build DJANGO_VERSION=2.1
46+
- python: '3.6'
47+
env: TEST_TYPE=build DJANGO_VERSION=2.1
48+
- python: '3.6'
5449
env: TEST_TYPE=lint
5550
deploy:
5651
provider: pypi

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919
"coveralls",
2020
"mock",
2121
"pytz",
22-
"django-filter>=2",
22+
"django-filter<2;python_version<'3'",
23+
"django-filter>=2;python_version>='3'",
2324
"pytest-django>=3.3.2",
2425
] + rest_framework_require
2526

@@ -39,9 +40,9 @@
3940
"Programming Language :: Python :: 2",
4041
"Programming Language :: Python :: 2.7",
4142
"Programming Language :: Python :: 3",
42-
"Programming Language :: Python :: 3.3",
4343
"Programming Language :: Python :: 3.4",
4444
"Programming Language :: Python :: 3.5",
45+
"Programming Language :: Python :: 3.6",
4546
"Programming Language :: Python :: Implementation :: PyPy",
4647
],
4748
keywords="api graphql protocol rest relay graphene",

0 commit comments

Comments
 (0)