diff --git a/.travis.yml b/.travis.yml index cabad8b..110f770 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,7 @@ env: - CKANVERSION=master - CKANVERSION=2.2 - CKANVERSION=2.3 + - CKANVERSION=2.4 services: - redis-server install: diff --git a/bin/travis-build.bash b/bin/travis-build.bash index 8ef11de..aae36f3 100644 --- a/bin/travis-build.bash +++ b/bin/travis-build.bash @@ -10,12 +10,16 @@ sudo apt-get install postgresql-9.1 solr-jetty libcommons-fileupload-java:amd64= echo "Installing CKAN and its Python dependencies..." git clone https://github.com/ckan/ckan cd ckan -if [ $CKANVERSION == '2.3' ] +if [ $CKANVERSION == '2.4' ] then - git checkout release-v2.3 + git checkout release-v2.4-latest +elif [ $CKANVERSION == '2.3' ] +then + git checkout release-v2.3-latest + elif [ $CKANVERSION == '2.2' ] then - git checkout release-v2.2.3 + git checkout release-v2.2-latest fi python setup.py develop pip install -r requirements.txt --allow-all-external