From 6d10dfa85133f32f5af2fc5e20e31c8af2bf3fb8 Mon Sep 17 00:00:00 2001 From: Simon Conseil Date: Sun, 5 Jun 2016 23:25:28 +0200 Subject: [PATCH] Simplify build matrix, use Pillow 3.2, cache pypi packages --- .travis.yml | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7610576..88fbf74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,13 +1,21 @@ language: python -python: - - "2.7" - - "3.3" - - "3.4" - - "3.5" +cache: pip env: - - PILLOW_VERSION=2.9.0 - - PILLOW_VERSION=3.0.0 - - PILLOW_VERSION=3.1.0 + 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 @@ -17,8 +25,7 @@ before_install: - ffmpeg -version install: - pip install -q Pillow==$PILLOW_VERSION - - pip install pytest pytest-cov - - pip install coveralls + - pip install pytest pytest-cov coveralls - pip install . script: py.test -sv --cov sigal --cov-report term-missing tests/ after_success: