30 lines
549 B
YAML
30 lines
549 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.4"
|
|
- "3.5"
|
|
- "3.6"
|
|
cache: pip
|
|
dist: trusty
|
|
sudo: false
|
|
# 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.6
|