From 56f981ed13e501ab1e68e904bafef2d06407cabc Mon Sep 17 00:00:00 2001 From: Joris Van den Bossche Date: Tue, 28 Feb 2017 12:30:53 +0100 Subject: [PATCH] TST: remove explicit building wheels - wheels are now available on PyPI - use pip cache (#408) * TST: remove building wheels - wheels are now available on PyPI * add pip cache * also remove pip wheel for pandas/matplotlib * don't remove cython for master builds --- .travis.yml | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/.travis.yml b/.travis.yml index 2233326..a58a92e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,7 @@ language: python sudo: false -cache: - directories: - - ~/.cache/pip +cache: pip addons: apt: @@ -14,11 +12,6 @@ addons: - libgdal-dev - libspatialindex-dev -env: - global: - - PIP_WHEEL_DIR=$HOME/.cache/pip/wheels - - PIP_FIND_LINKS=file://$HOME/.cache/pip/wheels - # matrix creates 3+5x2 = 13 tests matrix: include: @@ -62,20 +55,15 @@ matrix: before_install: - pip install -U pip - - pip install wheel install: - - pip wheel numpy - - pip wheel -r requirements.txt - - pip wheel -r requirements.test.txt - - pip install numpy - - if [[ $MATPLOTLIB == 'master' ]]; then pip install git+https://github.com/matplotlib/matplotlib.git; else pip wheel matplotlib==$MATPLOTLIB; pip install matplotlib==$MATPLOTLIB; fi + - if [[ $MATPLOTLIB == 'master' ]]; then pip install git+https://github.com/matplotlib/matplotlib.git; else pip install matplotlib==$MATPLOTLIB; fi - pip install -r requirements.txt - pip install -r requirements.test.txt - - if [[ $PANDAS == 'master' ]]; then pip install git+https://github.com/pydata/pandas.git; else pip wheel pandas==$PANDAS; pip install pandas==$PANDAS; fi + - if [[ $PANDAS == 'master' ]]; then pip install git+https://github.com/pydata/pandas.git; else pip install pandas==$PANDAS; fi script: - py.test geopandas --cov geopandas -v --cov-report term-missing