mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-12 12:20:25 +08:00
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:
committed by
GitHub
parent
d8f74732ef
commit
56f981ed13
+3
-15
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user