-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
32 lines (32 loc) · 956 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
language: python
python:
- "2.7"
addons:
apt:
packages:
- libatlas-dev
- libatlas-base-dev
- liblapack-dev
- libproj-dev
- gfortran
- gdal-bin
- libgdal1-dev
install:
# Expand include path for building python-gdal bindings.
- export CPLUS_INCLUDE_PATH="/usr/include/gdal"
- export C_INCLUDE_PATH="/usr/include/gdal"
# GDAL python version must match system libgdal version.
- travis_retry pip install pyflakes pep8 GDAL==1.10.0
# No tests are run yet... so no requirements.
- travis_retry pip install -r requirements.txt
- python setup.py install
script:
# Our line length is very lenient for legacy reasons.
- pep8 eotools --max-line-length 200
# - pyflakes eotools
- python tests/test_blrb.py
- python tests/test_bulk_stats.py
# - python tests/test_GriddedGeoBox.py
- python tests/test_tiling.py
- python tests/test_vincenty.py
cache: apt