forked from linz/QGIS-AIMS-Plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
51 lines (42 loc) · 4.89 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
51
language: python
python: '2.7'
virtualenv:
system_site_packages: true
before_install:
- sudo apt-get update
install:
- sudo apt-get install python-qt4 pyqt4-dev-tools
- sudo apt-get install -y qgis
- pip install ConfigParser
- pip install coveralls
services:
- postgresql
before_script:
- echo "Setup PATH vars. " `python -c 'import sys; print sys.path'`
- export QGIS_PREFIX_PATH=/usr
- export PYTHONPATH=$PYTHONPATH:${QGIS_PREFIX_PATH}/share/qgis/python/:${QGIS_PREFIX_PATH}/share/qgis/python/plugins:`pwd`
- export PYTHONPATH=$PYTHONPATH:${QGIS_PREFIX_PATH}/share/pyshared/qgis
- export PYTHONPATH=$PYTHONPATH:/usr/lib/python2.7/dist-packages/qgis
- echo "PYTHONPATH:" $PYTHONPATH
- echo "PP contents:" `python -c "import os;print [(d,os.listdir(d)) for d in os.environ.get('PYTHONPATH').split(':') if os.path.exists(d)]"`
- export LD_LIBRARY_PATH=${QGIS_PREFIX_PATH}/lib
- echo "Setup DB. " `date`
- psql -c 'create database aims_ci_test;' -U postgres
- psql -c '\connect aims_ci_test;' -U postgres
- psql -c 'create schema aims;' -U postgres
- psql -c 'create table aims.aims_test_table(id int, name varchar(32));' -U postgres
- psql -c 'insert into aims.aims_test_table values(1,'aims_test_data');' -U postgres
- psql -c 'select * from aims.aims_test_table;' -U postgres
- echo "Build. " `date`
script:
- make
- nosetests --with-coverage
after_success:
- coveralls
env:
global:
- secure: RNOMNCMv+JfkraIkepBBxPH2e1nzjdht6zPLZpfi6RdAhaiS6Um8IUUKyB1ej31PAheQFfeajMFFdfDZbjjbDCAS9PbloL2TJCSRjmh67AK+BwL3TY2SuTxN+JIeHp3gBsNiu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