diff --git a/.travis.yml b/.travis.yml index cd47dab..6bd80c7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,18 @@ language: python -sudo: false +dist: xenial + python: -- 2.7 -- 3.3 -- 3.4 -- 3.5 -- pypy + - 2.7 + - 3.5 + - 3.6 + - 3.7 + - pypy3 install: -- pip install pytest pytest-cov coveralls flake8 -- pip install . + - pip install pytest pytest-cov flake8 + - pip install . script: -- py.test --cov=graphql_relay + - py.test --cov=graphql_relay # - flake8 after_success: -- coveralls + - pip install coveralls + - coveralls diff --git a/setup.py b/setup.py index 87b6b07..079fc21 100644 --- a/setup.py +++ b/setup.py @@ -55,7 +55,7 @@ def run_tests(self): install_requires=[ 'six>=1.10.0', - 'graphql-core>=0.5.0', + 'graphql-core>=0.5.0,<2', 'promise>=0.4.0' ], tests_require=['pytest>=2.7.2'],