From 287a7a814d68e56c7a70b7662cef8ca9ed8e75e8 Mon Sep 17 00:00:00 2001 From: Syrus Akbary Date: Sun, 23 Jul 2017 19:15:51 -0700 Subject: [PATCH] Added package test requirements into travis excluding setup --- .travis.yml | 4 ++++ setup.py | 6 ++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index d87939e0..cd8d9150 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,6 +22,10 @@ before_install: install: - | 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] python setup.py develop elif [ "$TEST_TYPE" = lint ]; then diff --git a/setup.py b/setup.py index 1551cb59..f01f0d9b 100644 --- a/setup.py +++ b/setup.py @@ -83,11 +83,9 @@ setup( install_requires=[ 'six>=1.10.0', - # 'graphql-core>=1.1', - 'https://github.com/graphql-python/graphql-core/archive/master.zip', + 'graphql-core>=1.1', 'graphql-relay>=0.4.5', - #'promise>=2.0', - 'https://github.com/syrusakbary/promise/archive/master.zip', + 'promise>=2.0', ], tests_require=tests_require, extras_require={