Commit 7caf96c 1 parent 5ccd815 commit 7caf96c Copy full SHA for 7caf96c
File tree 5 files changed +8
-32
lines changed
5 files changed +8
-32
lines changed Original file line number Diff line number Diff line change 1
1
[run]
2
- omit = graphene/utils/enum.py,graphene/contrib/django/debug/sql/tracking.py, */tests/*
2
+ omit = graphene/utils/enum.py,*/tests/*
Original file line number Diff line number Diff line change @@ -23,12 +23,9 @@ before_install:
23
23
install :
24
24
- |
25
25
if [ "$TEST_TYPE" = build ]; then
26
- pip install --download-cache $HOME/.cache/pip/ pytest pytest-cov coveralls six pytest-django django-filter sqlalchemy_utils
26
+ pip install --download-cache $HOME/.cache/pip/ pytest pytest-cov coveralls six
27
27
pip install --download-cache $HOME/.cache/pip psycopg2 > /dev/null 2>&1
28
28
pip install --download-cache $HOME/.cache/pip/ -e .
29
- pip install --download-cache $HOME/.cache/pip/ -e .[django]
30
- pip install --download-cache $HOME/.cache/pip/ -e .[sqlalchemy]
31
- pip install django==$DJANGO_VERSION
32
29
python setup.py develop
33
30
elif [ "$TEST_TYPE" = build_website ]; then
34
31
pip install --download-cache $HOME/.cache/pip/ -e .
82
79
matrix :
83
80
fast_finish : true
84
81
include :
85
- - python : ' 2.7'
86
- env : TEST_TYPE=build DJANGO_VERSION=1.6
87
- - python : ' 2.7'
88
- env : TEST_TYPE=build DJANGO_VERSION=1.7
89
- - python : ' 2.7'
90
- env : TEST_TYPE=build DJANGO_VERSION=1.8
91
- - python : ' 2.7'
92
- env : TEST_TYPE=build DJANGO_VERSION=1.9
93
82
- python : ' 2.7'
94
83
env : TEST_TYPE=build_website
95
84
- python : ' 2.7'
Original file line number Diff line number Diff line change 1
1
[flake8]
2
- exclude = setup.py,docs/*,examples/cookbook_django/*
2
+ exclude = setup.py,docs/*
3
3
max-line-length = 120
4
4
5
5
[coverage:run]
6
- omit = graphene/utils/enum.py,graphene/contrib/django/debug/sql/tracking.py, */tests/*
6
+ omit = graphene/utils/enum.py,*/tests/*
7
7
8
8
[isort]
9
9
known_first_party =graphene
Original file line number Diff line number Diff line change @@ -56,30 +56,20 @@ def run_tests(self):
56
56
install_requires = [
57
57
'six>=1.10.0' ,
58
58
'graphql-core>=0.5.1' ,
59
- 'graphql-relay>=0.4.2 ' ,
59
+ 'graphql-relay>=0.4.3 ' ,
60
60
'iso8601' ,
61
61
],
62
62
tests_require = [
63
- 'django-filter>=0.10.0' ,
64
63
'pytest>=2.7.2' ,
65
- 'pytest-django' ,
66
- 'sqlalchemy' ,
67
- 'sqlalchemy_utils' ,
68
64
'mock' ,
69
- # Required for Django postgres fields testing
70
- 'psycopg2' ,
71
65
],
72
66
extras_require = {
73
67
'django' : [
74
- 'Django>=1.6.0' ,
75
- 'singledispatch>=3.4.0.3' ,
76
- 'graphql-django-view>=1.3' ,
68
+ 'graphene-django' ,
77
69
],
78
70
'sqlalchemy' : [
79
- 'sqlalchemy' ,
80
- 'singledispatch>=3.4.0.3' ,
71
+ 'graphene-sqlalchemy' ,
81
72
]
82
73
},
83
-
84
74
cmdclass = {'test' : PyTest },
85
75
)
Original file line number Diff line number Diff line change @@ -5,11 +5,8 @@ skipsdist = true
5
5
[testenv]
6
6
deps =
7
7
pytest>=2.7.2
8
- django>=1.8.0,<1.9
9
- pytest-django
10
- graphql-django-view ==1.3
11
8
graphql-core>=0.5.1
12
- graphql-relay>=0.4.2
9
+ graphql-relay>=0.4.3
13
10
six
14
11
blinker
15
12
singledispatch
You can’t perform that action at this time.
0 commit comments