Skip to content

Commit 9d2fa4f

Browse files
authored
fix python 3.4/3.5 and remove duplicate builds (#6)
* fix python 3.4/3.5 and remove duplicate builds * add python 3.7 * switch to xenial
1 parent 05b3fff commit 9d2fa4f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
language: python
2-
sudo: false
2+
sudo: required
3+
dist: xenial
34
python:
45
- 2.7
56
- 3.4
67
- 3.5
78
- 3.6
9+
- 3.7
810
install:
911
- |
1012
if [ "$TEST_TYPE" = build ]; then
@@ -41,11 +43,9 @@ matrix:
4143
env: TEST_TYPE=build
4244
- python: '3.6'
4345
env: TEST_TYPE=build
44-
- python: '3.5'
45-
env: TEST_TYPE=build
46-
- python: '3.6'
46+
- python: '3.7'
4747
env: TEST_TYPE=build
4848
- python: '2.7'
4949
env: TEST_TYPE=lint
50-
- python: '3.6'
50+
- python: '3.7'
5151
env: TEST_TYPE=lint

graphene_tornado/tests/test_graphql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,4 +553,4 @@ def batch_url_string(**url_params):
553553

554554

555555
def response_json(response):
556-
return json.loads(response.body)
556+
return json.loads(to_unicode(response.body))

0 commit comments

Comments
 (0)