2013-02-14 20:28:34 +00:00
|
|
|
language: python
|
|
|
|
python:
|
|
|
|
- "2.7"
|
2013-04-30 16:09:42 +00:00
|
|
|
- "3.3"
|
2015-04-20 20:46:12 +00:00
|
|
|
- "3.4"
|
2016-03-07 00:08:57 +00:00
|
|
|
- "3.5"
|
2015-04-20 20:46:12 +00:00
|
|
|
# install libjpeg-dev for Pillow to handle JPEGs
|
2015-07-17 21:51:17 +00:00
|
|
|
sudo: false
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libjpeg-dev
|
2016-03-03 23:18:21 +00:00
|
|
|
code_climate:
|
|
|
|
repo_token: 2a411f596959fc32f5d73f3ba7cef8cc4d5733299d742dbfc97fd6c190b9010c
|
2013-02-14 20:32:20 +00:00
|
|
|
# command to install dependencies
|
|
|
|
install:
|
2015-04-20 20:46:12 +00:00
|
|
|
- pip install -r requirements.txt
|
2016-03-07 00:08:57 +00:00
|
|
|
- pip install pytest-xdist pytest-cov
|
2013-02-14 20:28:34 +00:00
|
|
|
# command to run tests
|
2016-03-07 00:08:57 +00:00
|
|
|
script: make test PYTESTOPTS="--cov=dosage --cov=dosagelib --tb=short -n10"
|
2015-04-20 22:01:23 +00:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#dosage"
|
|
|
|
use_notice: true
|
|
|
|
skip_join: true
|