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"
|
|
|
|
# install libjpeg-dev for Pillow to handle JPEGs
|
2013-12-09 18:00:47 +00:00
|
|
|
before_install:
|
2014-02-10 21:22:20 +00:00
|
|
|
- sudo apt-get update -q -y
|
|
|
|
- sudo apt-get install -q -y libjpeg-dev
|
2014-03-04 19:24:51 +00:00
|
|
|
# disabled upgrade: it gives build errors
|
|
|
|
# - sudo apt-get upgrade -q -y
|
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
|
|
|
|
- pip install pytest-xdist
|
2013-02-14 20:28:34 +00:00
|
|
|
# command to run tests
|
2013-03-27 18:59:37 +00:00
|
|
|
script: make test PYTESTOPTS="--tb=short -n10"
|
2015-04-20 22:01:23 +00:00
|
|
|
notifications:
|
|
|
|
irc:
|
|
|
|
channels:
|
|
|
|
- "chat.freenode.net#dosage"
|
|
|
|
use_notice: true
|
|
|
|
skip_join: true
|