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
This commit is contained in:
Joris Van den Bossche
2017-02-28 12:30:53 +01:00
committed by GitHub
parent d8f74732ef
commit 56f981ed13
+3 -15
View File
@@ -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