dosage/.travis.yml
2013-12-10 08:48:32 +01:00

24 lines
668 B
YAML

language: python
python:
- "2.7"
- "3.3"
# whitelist
branches:
only:
- master
# install libjpeg-dev for PIL to handle JPEGs
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libjpeg-dev
- 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
# command to install dependencies
install:
- pip install -r requirements.txt --use-mirrors
- scripts/install_pil.sh
- pip install pytest-xdist --use-mirrors
# command to run tests
script: make test PYTESTOPTS="--tb=short -n10"
#notifications:
# email: false