forked from GFDRR/geonode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (40 loc) · 1.12 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
language: python
python:
- "2.7"
virtualenv:
system_site_packages: true
branches:
only:
- master
- 2.6.x
dist: precise
install:
- sudo apt-get -qq -y update
- sudo apt-get install -y libgdal1h libgdal-dev python-gdal gdal-bin
- sudo apt-get install -y python-virtualenv python-imaging python-lxml python-pyproj python-shapely python-nose python-httplib2 python-httplib2 gettext
- sudo add-apt-repository -y ppa:webupd8team/java
- sudo apt-get update
- sudo apt-get install -y --force-yes oracle-java8-installer --no-install-recommends
- sudo update-java-alternatives --set java-8-oracle
- pip install -r requirements.txt
- pip install -e . --no-deps
- pip install coveralls
- pip install pygdal==`gdal-config --version`
before_script:
- paver setup
script:
- paver run_tests --coverage
after_script:
- paver reset_hard
after_success:
- coveralls
notifications:
irc:
channels:
- "irc.freenode.org#geonode"
use_notice: true
email:
slack: geonode-sprint:oQylJRkU9feZ8JruGi6czWwe