Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Group environmental variables used for tests

Roland Geiderca6a0d7bca3c
diff --git a/.travis.yml b/.travis.yml
index 4885b278c..cb82fe25a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -7,10 +7,13 @@ python:
# - "3.3"
# - "3.4"
-# Manually define here the combinations of django and db versions to test
+# Manually define here the combinations environment variables to test
+# https://github.com/travis-ci/travis-ci/issues/1519
env:
- - DJANGO_VERSION=1.6.8 DB=postgresql
- - DJANGO_VERSION=1.6.8 DB=sqlite
+ - DJANGO_VERSION=1.6.8 TEST_MOBILE=True DB=postgresql
+ - DJANGO_VERSION=1.6.8 TEST_MOBILE=True DB=sqlite
+ - DJANGO_VERSION=1.6.8 TEST_MOBILE=False DB=postgresql
+ - DJANGO_VERSION=1.6.8 TEST_MOBILE=False DB=sqlite
# Install the application
install:
@@ -32,9 +35,6 @@ script:
# Regular application
- coverage run --source='.' ./manage.py test
- # Mobile version
- - TEST_MOBILE=True ./manage.py test
-
# Formatting
- pep8 --max-line-length=100 --exclude="urls.py,*migrations*" wger