language: python
python:
    - "2.7"
    - "3.3"
    - "3.4"
    - "3.5"
env:
  - PILLOW_VERSION=2.9.0
  - PILLOW_VERSION=3.0.0
  - PILLOW_VERSION=3.1.0
before_install:
    # Dependencies to build PIL
    - sudo apt-get update -qq
    - sudo apt-get install -qq ubuntu-restricted-extras
    - sudo apt-get install -qq libfreetype6-dev libjpeg8-dev zlib1g-dev ffmpeg
    - sudo locale-gen fr_FR.UTF-8
    - ffmpeg -version
install:
    - pip install -q Pillow==$PILLOW_VERSION
    - pip install pytest pytest-cov
    - pip install coveralls
    - pip install .
script: py.test -sv --cov sigal --cov-report term-missing tests/
after_success:
    coveralls
notifications:
    irc: "chat.freenode.net#sigal"

language: python
cache: pip
env:
  global:
    - PILLOW_VERSION=3.2.0

matrix:
  include:
    - python: 2.7
      env: PILLOW_VERSION=2.9.0
    - python: 2.7
      env: PILLOW_VERSION=3.0.0
    - python: 2.7
    - python: 3.3
    - python: 3.4
    - python: 3.5


before_install:
    # Dependencies to build PIL
    - sudo apt-get update -qq
    - sudo apt-get install -qq ubuntu-restricted-extras
    - sudo apt-get install -qq libfreetype6-dev libjpeg8-dev zlib1g-dev ffmpeg
    - sudo locale-gen fr_FR.UTF-8
    - ffmpeg -version
install:
    - pip install -q Pillow==$PILLOW_VERSION
    - pip install pytest pytest-cov coveralls
    - pip install .
script: py.test -sv --cov sigal --cov-report term-missing tests/
after_success:
    coveralls
notifications:
    irc: "chat.freenode.net#sigal"

Simplify build matrix, use Pillow 3.2, cache pypi packages
Simplify build matrix, use Pillow 3.2, cache pypi packages
