From 992cdc57d20ae18181e5698407f27a9e729add86 Mon Sep 17 00:00:00 2001 From: amercader Date: Fri, 23 Oct 2015 11:56:12 +0100 Subject: [PATCH] Test 2.4 and latest branches for all releases --- .travis.yml | 1 + bin/travis-build.bash | 10 +++++++--- 2 files changed, 8 insertions(+), 3 deletions(-) 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