# Config file for automatic testing at travis-ci.org language: python cache: pip matrix: include: - env: TOX_ENV=py35-django-213 python: 3.5 - env: TOX_ENV=py36-django-213 python: 3.6 - env: TOX_ENV=py37-django-213 python: 3.7 dist: xenial sudo: true # command to install dependencies, e.g. pip install -r requirements.txt --use-mirrors install: - . $HOME/.nvm/nvm.sh - nvm install stable - nvm use stable - pip install -r requirements_dev.txt - cd longclaw/client && npm install # command to run tests using coverage, e.g. python setup.py test script: tox -e $TOX_ENV after_success: - codecov -e TOX_ENV - git config --global user.name "${GH_NAME}" - git config --global user.email "${GH_EMAIL}" - echo "machine github.com login ${GH_NAME} password ${GH_TOKEN}" > ~/.netrc - cd website && npm install && GIT_USER="${GH_NAME}" npm run publish-gh-pages