Test 2.4 and latest branches for all releases

This commit is contained in:
amercader 2015-10-23 11:56:12 +01:00
parent 1bad80e273
commit 992cdc57d2
2 changed files with 8 additions and 3 deletions

View File

@ -5,6 +5,7 @@ env:
- CKANVERSION=master
- CKANVERSION=2.2
- CKANVERSION=2.3
- CKANVERSION=2.4
services:
- redis-server
install:

View File

@ -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