-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy path.travis.yml
34 lines (27 loc) · 992 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"
virtualenv:
system_site_packages: true
branches:
only:
- master
install:
- sudo apt-get -qq -y update
- sudo apt-get install -y libgdal1h python-gdal gdal-bin spatialite-bin
- sudo apt-get install -y python-virtualenv python-imaging python-lxml python-pyproj python-shapely python-nose python-httplib2 python-httplib2 gettext python-paver
- sudo apt-get install -y python-dev libxml2 libxml2-dev libxslt1-dev zlib1g-dev libjpeg-dev libpq-dev libgdal-dev git default-jdk
- sudo add-apt-repository -y ppa:webupd8team/java
- sudo apt-get update
- sudo apt-get install -y --force-yes oracle-java8-installer ant maven2 --no-install-recommends
- sudo update-java-alternatives --set java-8-oracle
- pip install -r requirements.txt
- pip install -e .
- pip install coveralls
- pip install pygdal==`gdal-config --version`
before_script:
- paver setup
script:
- paver run_tests --coverage
after_script:
- paver reset_hard