forked from naturalatlas/tilestrata-mapnik
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
25 lines (24 loc) · 857 Bytes
/
.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
language: cpp
os:
- linux
env:
matrix:
- NODE_NVM_VERSION="0.10"
- NODE_NVM_VERSION="0.12"
- NODE_NVM_VERSION="4.0"
before_install:
# install c++11 capable libstdc++ without sudo
- if [[ $(uname -s) == 'Linux' ]]; then wget https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+files/libstdc%2B%2B6_4.8.1-2ubuntu1~12.04_amd64.deb && dpkg -x libstdc++6_4.8.1-2ubuntu1~12.04_amd64.deb ./ && export LD_PRELOAD=$(pwd)/usr/lib/x86_64-linux-gnu/libstdc++.so.6; fi
# install node.js
- git clone https://github.com/creationix/nvm.git ../.nvm
- source ../.nvm/nvm.sh
- nvm install $NODE_NVM_VERSION
- nvm use $NODE_NVM_VERSION
- node --version
- npm --version
script:
# dependencies
- npm install --fallback-to-build=false
- npm install tilestrata
# execute tests
- make test && (make test-ci-coverage || true)