Merge pull request #2756 from normanjaeckel/UpdateTravis

Updated .travis file.
This commit is contained in:
Emanuel Schütze 2016-12-09 22:20:56 +01:00 committed by GitHub
commit 12b21e2ebb

View File

@ -11,21 +11,21 @@ python:
env:
- TRAVIS_NODE_VERSION="4"
before_install:
- "nvm install $TRAVIS_NODE_VERSION"
- nvm install $TRAVIS_NODE_VERSION
install:
- "pip install --upgrade setuptools"
- "pip install --upgrade --requirement requirements.txt"
- "npm install"
- "node_modules/.bin/gulp --production"
- pip install --upgrade setuptools
- pip install --upgrade --requirement requirements.txt
- npm install
- node_modules/.bin/gulp --production
script:
- "flake8 openslides tests"
- "isort --check-only --recursive openslides tests"
- "gulp jshint"
- flake8 openslides tests
- isort --check-only --recursive openslides tests
- node_modules/.bin/gulp jshint
- "DJANGO_SETTINGS_MODULE='tests.settings' coverage run ./manage.py test tests.unit"
- "coverage report --fail-under=40"
- DJANGO_SETTINGS_MODULE='tests.settings' coverage run ./manage.py test tests.unit
- coverage report --fail-under=44
- "DJANGO_SETTINGS_MODULE='tests.settings' coverage run ./manage.py test tests.integration"
- "coverage report --fail-under=50"
- DJANGO_SETTINGS_MODULE='tests.settings' coverage run ./manage.py test tests.integration
- coverage report --fail-under=73
- "DJANGO_SETTINGS_MODULE='tests.old.settings' ./manage.py test tests.old"
- DJANGO_SETTINGS_MODULE='tests.old.settings' ./manage.py test tests.old