-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
22 lines (22 loc) · 1.07 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
language: node_js
node_js:
- "4.4.4"
env:
- MAPSERVER_COMMIT=master MAPSERVER_FORK=mapserver # mapserver master
- MAPSERVER_COMMIT=rel-6-4-1 MAPSERVER_FORK=mapserver # mapserver master
before_install:
- mkdir tmp
- cd tmp
- wget http://www.freedesktop.org/software/harfbuzz/release/harfbuzz-0.9.19.tar.bz2
- tar xjf harfbuzz-0.9.19.tar.bz2
- cd harfbuzz-0.9.19
- ./configure --without-cairo --without-glib --without-icu
- make -j3
- sudo make install && sudo ldconfig
- cd ../..
- sudo apt-get update -qq
- sudo apt-get install -qq libfribidi-dev libpng12-dev libjpeg-dev libgif-dev libgd2-noxpm-dev libfreetype6-dev libfcgi-dev libcurl4-gnutls-dev libcairo2-dev libgdal1-dev libproj-dev libxml2-dev
- sh ./tools/install-deps.sh /tmp $MAPSERVER_FORK $MAPSERVER_COMMIT # install the dependencies
- export CXX="g++ -I/tmp/mapserver -I/tmp/mapserver/build -L/tmp/mapserver-install/lib -lmapserver"
- export LD_LIBRARY_PATH=/tmp/mapserver-install/lib:${LD_LIBRARY_PATH}
- export PATH=/tmp/mapserver-install/bin:${PATH} # ensure `node-gyp` can find `mapserver-config`