forked from EOxServer/eoxserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (35 loc) · 1.24 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
language: python
env:
- DJANGO=1.4 GDAL=1.10 DB=sqlite
- DJANGO=1.5 GDAL=1.10 DB=sqlite
- DJANGO=1.6 GDAL=1.10 DB=sqlite
python:
- "2.6"
- "2.7"
install:
# adding required repo for dependencies
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update
- sudo apt-get install aptitude
# install a lot of deps from the apt-repos
- sudo aptitude install -y gdal-bin libgdal1-dev libxml2 python-lxml python-libxml2 libproj0 libproj-dev libgeos-dev libgeos++-dev cgi-mapserver python-mapscript libapache2-mod-wsgi python-psycopg2 postgis
# test with various Django versions
- pip install -q Django==$DJANGO --use-mirrors
# test with various GDAL versions
- pip install -q gdal==$GDAL --use-mirrors
# actually install EOxServer
- pip install --use-mirrors --install-option="--disable-extended-reftools" .
script:
- sudo -u postgres createdb eoxserver_demo
- sudo -u postgres psql eoxserver_demo -c 'create extension postgis;'
- cd autotest
- python manage.py test core
- python manage.py test backends
- python manage.py test coverages
- python manage.py test autotest_services
notifications:
irc:
channels:
- "irc.freenode.net#eoxserver"
on_success: always
on_failure: always