Test 2.4 and latest branches for all releases
This commit is contained in:
parent
1bad80e273
commit
992cdc57d2
|
@ -5,6 +5,7 @@ env:
|
|||
- CKANVERSION=master
|
||||
- CKANVERSION=2.2
|
||||
- CKANVERSION=2.3
|
||||
- CKANVERSION=2.4
|
||||
services:
|
||||
- redis-server
|
||||
install:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue