Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Update travis file

Roland Geider284f34d29ab1
diff --git a/.travis.yml b/.travis.yml
index 0477c79dd..0c0dd95a8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -21,11 +21,12 @@ env:
# Install the application
install:
- 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
- - python extras/scripts/create_local_settings.py
+ - sh -c "if [ '$DB' = 'sqlite' ]; then invoke create_settings; fi"
+ - sh -c "if [ '$DB' = 'postgresql' ]; then invoke create_settings --database-type postgresql; fi"
# Create test databases
before_script: