forked from mapbox/mapnik-vector-tile
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
33 lines (28 loc) · 1.08 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
language: cpp
compiler:
- clang
- gcc
before_install:
#- sudo apt-add-repository --yes ppa:mapnik/v2.2.0
- sudo apt-add-repository --yes ppa:mapnik/nightly-2.3
- sudo apt-add-repository --yes ppa:mapnik/nightly-trunk
- sudo apt-get update -y
install:
- sudo apt-get -y install libprotobuf7 libprotobuf-dev protobuf-compiler g++ gcc
- sudo apt-get -y install gcc-4.8 g++-4.8
before_script:
#- sudo apt-get -y install libmapnik=2.2.0* mapnik-utils=2.2.0* libmapnik-dev=2.2.0*
#- make clean
#- make test
#- sudo apt-get purge libmapnik=2.2.0* mapnik-utils=2.2.0* libmapnik-dev=2.2.0*
script:
- sudo apt-get -y install libmapnik=2.3.0* mapnik-utils=2.3.0* libmapnik-dev=2.3.0* mapnik-input-plugin*=2.3.0*
- make clean
- make test
- sudo apt-get purge libmapnik=2.3.0* mapnik-utils=2.3.0* libmapnik-dev=2.3.0* mapnik-input-plugin*=2.3.0*
- sudo apt-get -qq install libmapnik=3.0.0* mapnik-utils=3.0.0* libmapnik-dev=3.0.0* mapnik-input-plugin*=3.0.0*
- if [ "${CXX}" = 'g++' ]; then export CXX="g++-4.8" && export CC="gcc-4.8"; fi;
- make clean
- make test
- cd examples/c++
- make