d5e7690419
This was always broken, but somehow worked with Python 2.7 (WTF?). Now that we test with Pillow, this code path runs with Python 3 and throws an error.
23 lines
557 B
YAML
23 lines
557 B
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.3"
|
|
- "3.4"
|
|
# 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:
|
|
irc:
|
|
channels:
|
|
- "chat.freenode.net#dosage"
|
|
use_notice: true
|
|
skip_join: true
|