2017-02-03 10:04:57 +00:00
|
|
|
# Config file for automatic testing at travis-ci.org
|
|
|
|
|
|
|
|
language: python
|
|
|
|
|
|
|
|
python:
|
|
|
|
- "3.5"
|
|
|
|
|
|
|
|
env:
|
|
|
|
- TOX_ENV=py35-django-18
|
|
|
|
- TOX_ENV=py34-django-18
|
|
|
|
- TOX_ENV=py33-django-18
|
|
|
|
- TOX_ENV=py27-django-18
|
|
|
|
- TOX_ENV=py35-django-19
|
|
|
|
- TOX_ENV=py34-django-19
|
|
|
|
- TOX_ENV=py27-django-19
|
|
|
|
|
|
|
|
matrix:
|
|
|
|
fast_finish: true
|
|
|
|
|
|
|
|
# command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors
|
2017-02-10 18:48:07 +00:00
|
|
|
install:
|
2017-02-10 19:01:12 +00:00
|
|
|
- . $HOME/.nvm/nvm.sh
|
|
|
|
- nvm install stable
|
|
|
|
- nvm use stable
|
2017-02-10 18:48:07 +00:00
|
|
|
- pip install -r requirements_test.txt
|
|
|
|
- cd longclaw/client && npm install
|
2017-02-03 10:04:57 +00:00
|
|
|
|
|
|
|
# command to run tests using coverage, e.g. python setup.py test
|
|
|
|
script: tox -e $TOX_ENV
|
|
|
|
|
|
|
|
after_success:
|
2017-05-24 10:12:36 +00:00
|
|
|
- coverage xml
|
2017-02-03 10:04:57 +00:00
|
|
|
- codecov -e TOX_ENV
|