dosage/.travis.yml
Tobias Gruetzmacher 1e3d4e58b4 Travis-CI: Don't use shallow clones
This breaks setuptools_scm and therefore some tests which use the
project version.
2019-12-05 22:54:43 +01:00

32 lines
567 B
YAML

language: python
python:
- "2.7"
- "3.5"
- "3.6"
- "3.7"
- "3.8"
cache: pip
git:
depth: false
dist: xenial
# command to install dependencies
install:
- pip install -U tox-travis setuptools codecov
# command to run tests
script: tox
after_success:
codecov --file .tox/cov-*.xml
notifications:
irc:
channels:
- "chat.freenode.net#dosage"
use_notice: true
skip_join: true
# Push site to gh-pages branch
deploy:
- provider: script
skip_cleanup: true
script: .github/deploy.sh
on:
branch: master
python: 3.8