dosage/.travis.yml

27 lines
746 B
YAML
Raw Normal View History

2013-02-14 20:28:34 +00:00
language: python
python:
- "2.7"
2013-04-30 16:09:42 +00:00
- "3.3"
2013-02-22 18:16:23 +00:00
# whitelist
branches:
only:
- master
2013-12-09 18:00:47 +00:00
# install libjpeg-dev for PIL to handle JPEGs
before_install:
2014-02-10 21:22:20 +00:00
- sudo apt-get update -q -y
- sudo apt-get install -q -y libjpeg-dev
2013-12-10 07:48:32 +00:00
- sudo ln -s /usr/lib/x86_64-linux-gnu/libjpeg.so /usr/lib
- sudo ln -s /usr/lib/x86_64-linux-gnu/libfreetype.so /usr/lib
- sudo ln -s /usr/lib/x86_64-linux-gnu/libz.so /usr/lib
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:
- pip install -r requirements.txt --use-mirrors
2013-12-10 07:48:32 +00:00
- scripts/install_pil.sh
2013-02-14 20:32:20 +00:00
- pip install pytest-xdist --use-mirrors
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