Skip to content

Commit

Permalink
Merge pull request ckan#70 from ckan/fix-travis-requirements-py2
Browse files Browse the repository at this point in the history
Fix for Travis build, now requirements.txt on master is for python3
  • Loading branch information
David Read authored Nov 22, 2019
2 parents 2166591 + e0c8295 commit 9ddaa1a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ python:
- "2.7"
env:
- CKANVERSION=master
- CKANVERSION=2.2
- CKANVERSION=2.3
- CKANVERSION=2.4
- CKANVERSION=2.5
- CKANVERSION=2.6
- CKANVERSION=2.7
- CKANVERSION=2.8
Expand Down
7 changes: 6 additions & 1 deletion bin/travis-build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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 -

Expand Down

0 comments on commit 9ddaa1a

Please sign in to comment.