23 lines
520 B
YAML
23 lines
520 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.3"
|
|
- "3.4"
|
|
# whitelist
|
|
branches:
|
|
only:
|
|
- master
|
|
# install libjpeg-dev for Pillow to handle JPEGs
|
|
before_install:
|
|
- sudo apt-get update -q -y
|
|
- sudo apt-get install -q -y libjpeg-dev
|
|
# disabled upgrade: it gives build errors
|
|
# - sudo apt-get upgrade -q -y
|
|
# command to install dependencies
|
|
install:
|
|
- pip install -r requirements.txt
|
|
- pip install pytest-xdist
|
|
# command to run tests
|
|
script: make test PYTESTOPTS="--tb=short -n10"
|
|
#notifications:
|
|
# email: false
|