forked from pgRouting/osm2pgrouting
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
79 lines (51 loc) · 1.39 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# ------------------------------------------------------------------------------
# Travis CI scripts
# Copyright(c) pgRouting Contributors
#
# Main configuration
# ------------------------------------------------------------------------------
#choose precise or trusty
group: edge
dist: trusty
language: cpp
compiler:
- gcc
env: POSTGRESQL_VERSION=9.6 PG_USER=postgres DIST=precise
matrix:
include:
- os: linux
sudo: required
dist: trusty
group: edge
env: POSTGRESQL_VERSION=9.5 PG_USER=postgres DIST=trusty
- os: linux
sudo: required
dist: trusty
group: edge
env: POSTGRESQL_VERSION=9.4 PG_USER=postgres DIST=trusty
# executed. So things have to be tested oe by one.
addons:
apt:
sources:
- ubuntu-toolchain-r-test
# For cmake
- kubuntu-backports
- boost-latest
packages:
- cmake
before_install:
- sudo sudo apt-get install -y libboost-program-options-dev
install:
- sudo ./ci/travis/install-postgres.sh $POSTGRESQL_VERSION $PG_USER
- sudo ./ci/travis/install-libpqxx.sh $DIST
before_script:
# Add our chosen PG version to the path
- export PATH=/usr/lib/postgresql/$POSTGRESQL_VERSION/bin:$PATH
# initialize databases
#- createdb -U $PG_USER ___pgr___test___
script:
- ./ci/travis/osm2pgrouting_build.sh
#after_script:
# blank
#after_success:
# blank