From 90a0d4bfb5c7e4a55a5ed7b9fca4ac2cb770db23 Mon Sep 17 00:00:00 2001 From: David Read Date: Fri, 22 Nov 2019 12:16:42 +0000 Subject: [PATCH] Fix for Travis build, now requirements.txt on master is for python3 --- bin/travis-build.bash | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -