forked from GeoNode/geonode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (37 loc) · 1.09 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
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
- 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 ant maven2 libjai-imageio-core-java --no-install-recommends
- sudo update-java-alternatives --set java-8-oracle
- pip install -r requirements.txt --use-mirrors
- pip install -e . --use-mirrors --no-deps
- pip install coveralls
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