2013-02-14 20:28:34 +00:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
2015-04-20 20:46:12 +00:00
|
|
|
- "3.4"
|
2016-03-07 00:08:57 +00:00
|
|
|
- "3.5"
|
2017-01-12 00:38:59 +00:00
|
|
|
- "3.6"
|
2016-05-21 14:06:11 +00:00
|
|
|
cache: pip
|
2015-04-20 20:46:12 +00:00
|
|
|
# install libjpeg-dev for Pillow to handle JPEGs
|
2017-04-04 06:25:14 +00:00
|
|
|
dist: trusty
|
2015-07-17 21:51:17 +00:00
|
|
|
sudo: false
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libjpeg-dev
|
2013-02-14 20:32:20 +00:00
|
|
|
# command to install dependencies
|
|
|
|
install:
|
2017-11-28 00:27:40 +00:00
|
|
|
- pip install -U tox-travis setuptools codecov
|
2013-02-14 20:28:34 +00:00
|
|
|
# command to run tests
|
2016-03-20 18:43:48 +00:00
|
|
|
script: tox
|
2016-03-14 00:10:28 +00:00
|
|
|
after_success:
|
2017-11-28 00:27:40 +00:00
|
|
|
codecov --file .tox/cov-*.xml
|
2015-04-20 22:01:23 +00:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#dosage"
|
|
|
|
use_notice: true
|
|
|
|
skip_join: true
|
2018-03-11 00:12:52 +00:00
|
|
|
# Push site to gh-pages branch
|
|
|
|
deploy:
|
|
|
|
- provider: script
|
|
|
|
skip_cleanup: true
|
|
|
|
script: .github/deploy.sh
|
|
|
|
on:
|
|
|
|
branch: master
|
2018-03-11 00:35:02 +00:00
|
|
|
python: 3.6
|