Updated .travis file.

This commit is contained in:
Norman Jäckel 2016-12-09 18:38:40 +01:00
parent 0bef3d751e
commit bb3bc0b8ae

View File

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