Merge pull request #2756 from normanjaeckel/UpdateTravis
Updated .travis file.
This commit is contained in:
commit
12b21e2ebb
26
.travis.yml
26
.travis.yml
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user