diff --git a/bin/travis-build.bash b/bin/travis-build.bash index 0ac2fbe..01dbcde 100644 --- a/bin/travis-build.bash +++ b/bin/travis-build.bash @@ -19,7 +19,12 @@ else echo "CKAN version: ${CKAN_TAG#ckan-}" fi python setup.py develop -pip install -r requirements.txt --allow-all-external +if [ -f requirements-py2.txt ] +then + pip install -r requirements-py2.txt +else + pip install -r requirements.txt +fi pip install -r dev-requirements.txt --allow-all-external cd -