Self hosted FLOSS fitness/workout, nutrition and weight tracker
Simplify travis file
Roland Geider138afd76184a
diff --git a/.travis.yml b/.travis.ymlindex b29a2b9bd..5316f5f12 100644--- a/.travis.yml+++ b/.travis.yml@@ -14,18 +14,16 @@ python:# Manually define here the combinations environment variables to test# https://github.com/travis-ci/travis-ci/issues/1519env:- - DJANGO_VERSION=1.8.4 TEST_MOBILE=True DB=postgresql- - DJANGO_VERSION=1.8.4 TEST_MOBILE=True DB=sqlite- - DJANGO_VERSION=1.8.4 TEST_MOBILE=False DB=postgresql- - DJANGO_VERSION=1.8.4 TEST_MOBILE=False DB=sqlite+ - TEST_MOBILE=True DB=postgresql+ - TEST_MOBILE=True DB=sqlite+ - TEST_MOBILE=False DB=postgresql+ - TEST_MOBILE=False DB=sqlite# Install the applicationinstall:- sh -c "if [ '$DB' = 'postgresql' ]; then pip install psycopg2; fi"- pip install -r requirements_devel.txt- - pip install -q Django==$DJANGO_VERSION- - pip install --upgrade django-tastypie- sh -c "if [ '$DB' = 'sqlite' ]; then invoke create_settings; fi"- sh -c "if [ '$DB' = 'postgresql' ]; then invoke create_settings --database-type postgresql; fi"