Self hosted FLOSS fitness/workout, nutrition and weight tracker
Start using travis for testing
Peter van der Does8b3df7cc8002
diff --git a/.travis.yml b/.travis.ymlindex f70f79904..da866f0ce 100644--- a/.travis.yml+++ b/.travis.yml@@ -25,11 +25,13 @@ install:- pip install -r requirements_devel.txt- sh -c "if [ '$DB' = 'sqlite' ]; then invoke create_settings; fi"- sh -c "if [ '$DB' = 'postgresql' ]; then invoke create_settings --database-type postgresql; fi"+ - npm install# Create test databasesbefore_script:- sh -c "if [ '$DB' = 'postgresql' ]; then psql -c 'DROP DATABASE IF EXISTS test_wger;' -U postgres; fi"- sh -c "if [ '$DB' = 'postgresql' ]; then psql -c 'CREATE DATABASE test_wger;' -U postgres; fi"+ - npm install -g gulp# Do the testsscript: