-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
34 lines (25 loc) · 937 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
26
27
28
29
30
31
32
33
34
language: python
python:
- "2.7"
before_install:
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update -qq
- sudo apt-get install python-numpy libgdal1h gdal-bin libgdal-dev
- sudo apt-get install python-gdal
# rasterio?
- sudo apt-get install g++ gcc
# numpy (needs fortran to compile)
- sudo apt-get -y install libblas3gf libc6 libgcc1 libgfortran3 liblapack3gf libstdc++6 build-essential gfortran python-all-dev libatlas-base-dev
# numpy dependency
- sudo apt-get -y install python-dev
# scipy dependency
# - sudo apt-get -y install libblas-dev liblapack-dev
# - gdal-config --version
- export CPLUS_INCLUDE_PATH=/usr/include/gdal
- export C_INCLUDE_PATH=/usr/include/gdal
install:
- pip install -r requirements-dev.txt
- pip install pytest pytest-cov
- pip install -e .
script:
- py.test --cov geobricks_gis_raster/core --cov-report term-missing