forked from nens/dask-geomodeling
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
25 lines (22 loc) · 1012 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
language: minimal
matrix:
include:
- os: linux
env: PYTHON_VERSION="3.5" MAINDEPS="numpy=1.12 gdal=2.2.4 scipy=0.19 pytz" DEPS="dask-core=0.18 toolz=0.9 pandas=0.19 geopandas=0.4.1"
- os: linux
env: PYTHON_VERSION="3.6" MAINDEPS="numpy=1.14 gdal=2.2.4 scipy=1.1 pytz" DEPS="dask-core=0.20 toolz=0.10 pandas=0.23 geopandas=0.5"
- os: linux
env: PYTHON_VERSION="3.7" MAINDEPS="numpy gdal=2.* scipy pytz" DEPS="dask-core toolz geopandas"
- os: osx
env: PYTHON_VERSION="3.7" MAINDEPS="numpy gdal=2.* scipy pytz" DEPS="dask-core toolz geopandas"
install:
- wget https://repo.anaconda.com/pkgs/misc/conda-execs/conda-latest-$TRAVIS_OS_NAME-64.exe -O conda.exe
- chmod +x conda.exe
- export CONDA_ALWAYS_YES=1
- ./conda.exe create --prefix $HOME/miniconda python=$PYTHON_VERSION conda pytest $MAINDEPS
- ./conda.exe install --prefix $HOME/miniconda --channel conda-forge $DEPS
- export PATH="$HOME/miniconda/bin:$PATH"
- hash -r
- pip install . --no-deps
script:
- pytest