Added package test requirements into travis excluding setup

This commit is contained in:
Syrus Akbary 2017-07-23 19:15:51 -07:00
parent 85d3145862
commit 287a7a814d
2 changed files with 6 additions and 4 deletions

View File

@ -22,6 +22,10 @@ before_install:
install: install:
- | - |
if [ "$TEST_TYPE" = build ]; then if [ "$TEST_TYPE" = build ]; then
# For testing
pip install https://github.com/graphql-python/graphql-core/archive/master.zip
pip install https://github.com/syrusakbary/promise/archive/master.zip
pip install -e .[test] pip install -e .[test]
python setup.py develop python setup.py develop
elif [ "$TEST_TYPE" = lint ]; then elif [ "$TEST_TYPE" = lint ]; then

View File

@ -83,11 +83,9 @@ setup(
install_requires=[ install_requires=[
'six>=1.10.0', 'six>=1.10.0',
# 'graphql-core>=1.1', 'graphql-core>=1.1',
'https://github.com/graphql-python/graphql-core/archive/master.zip',
'graphql-relay>=0.4.5', 'graphql-relay>=0.4.5',
#'promise>=2.0', 'promise>=2.0',
'https://github.com/syrusakbary/promise/archive/master.zip',
], ],
tests_require=tests_require, tests_require=tests_require,
extras_require={ extras_require={