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"
|
2013-02-22 18:16:23 +00:00
|
|
|
# whitelist
|
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2015-04-20 20:46:12 +00:00
|
|
|
# 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"
|
2013-02-15 05:50:12 +00:00
|
|
|
#notifications:
|
|
|
|
# email: false
|