26 lines
602 B
YAML
26 lines
602 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
|
|
code_climate:
|
|
repo_token: 2a411f596959fc32f5d73f3ba7cef8cc4d5733299d742dbfc97fd6c190b9010c
|
|
# command to install dependencies
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- pip install pytest-xdist pytest-cov
|
|
# command to run tests
|
|
script: make test PYTESTOPTS="--cov=dosage --cov=dosagelib --tb=short -n10"
|
|
notifications:
|
|
irc:
|
|
channels:
|
|
- "chat.freenode.net#dosage"
|
|
use_notice: true
|
|
skip_join: true
|