26 lines
546 B
YAML
26 lines
546 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.3"
|
|
- "3.4"
|
|
- "3.5"
|
|
# install libjpeg-dev for Pillow to handle JPEGs
|
|
sudo: false
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libjpeg-dev
|
|
# command to install dependencies
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- pip install pytest-xdist pytest-cov coveralls
|
|
# command to run tests
|
|
script: make test PYTESTOPTS="--cov=dosage --cov=dosagelib --tb=short -n10"
|
|
after_success:
|
|
coveralls
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "chat.freenode.net#dosage"
|
|
use_notice: true
|
|
skip_join: true
|