forked from tilemill-project/tilemill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (38 loc) · 1.4 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
language: node_js
node_js:
- "0.10"
# http://about.travis-ci.org/blog/2013-11-29-postgresql-92-93-now-available/
addons:
postgresql: "9.3"
before_install:
- createdb template_postgis
- psql -c "CREATE EXTENSION postgis" template_postgis
- npm install mocha -g
install:
- npm install
- npm ls
- npm test
before_script:
- 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 -qq
- sudo apt-get -qq install libprotobuf7 libprotobuf-dev protobuf-compiler g++ gcc
- sudo apt-get -qq install libmapnik=2.2.0* mapnik-utils=2.2.0* libmapnik-dev=2.2.0*
- npm install --build-from-source
- npm ls
- npm test
- sudo apt-get purge libmapnik=2.2.0* mapnik-utils=2.2.0* libmapnik-dev=2.2.0*
script:
- sudo apt-get -qq install libmapnik=2.3.0* mapnik-utils=2.3.0* libmapnik-dev=2.3.0* mapnik-input-plugin*
- rm -rf ./node_modules/
- npm install --build-from-source
- npm ls
- npm test
- sudo apt-get purge libmapnik=2.3.0* mapnik-utils=2.3.0* libmapnik-dev=2.3.0* mapnik-input-plugin*
#- sudo apt-get -qq install libmapnik=3.0.0* mapnik-utils=3.0.0* libmapnik-dev=3.0.0* mapnik-input-plugin*
#- rm -rf ./node_modules/
#- npm install --build-from-source
#- npm ls
#- npm test
#- sudo apt-get purge libmapnik=3.0.0* mapnik-utils=3.0.0* libmapnik-dev=3.0.0* mapnik-input-plugin*