This repository has been archived by the owner on Dec 3, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
73 lines (65 loc) · 2.91 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
language: cpp
os:
- linux
- osx
compiler:
- clang
sudo: false
cache:
apt: true
ccache: true
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.5
packages:
- clang-3.5
- libstdc++6
- curl
- unzip
- python-pip
- mono-devel
- expect
env:
matrix:
#- NODE_VERSION="0.10.33" NAME= BRANCH="v0.10.33-nodecpp11"
#- NODE_VERSION="0.10.33" NAME=blockingio BRANCH="v0.10.33-nodecpp11-blockingio"
#- NODE_VERSION="0.10.36" NAME= BRANCH="v0.10.36-nodecpp11"
#- NODE_VERSION="0.11.14" NAME= BRANCH="v0.11.14-nodecpp11"
#- NODE_VERSION="0.12.0" NAME= BRANCH="v0.12.0-nodecpp11"
#- NODE_VERSION="0.12.2" NAME= BRANCH="v0.12.2-nodecpp11"
#- NODE_VERSION="0.10.40" NAME= BRANCH="v0.10.40-nodecpp11"
#- NODE_VERSION="0.12.7" NAME= BRANCH="v0.12.7-nodecpp11"
#- NODE_VERSION="5.1.0" NAME= BRANCH="v5.1.0-nodecpp11"
#- NODE_VERSION="4.4.1" REPO=https://github.com/mapbox/node NAME= BRANCH="v4.4.1-nodecpp11"
#- NODE_VERSION="5.9.1" REPO=https://github.com/mapbox/node NAME= BRANCH="v5.9.1-nodecpp11"
- NODE_VERSION="6.5.0" REPO=https://github.com/mapbox/node NAME= BRANCH="v6.5.0-nodecpp11"
global:
- JOBS: 8
- S3_URL: "s3://mapbox/node-cpp11"
- secure: "QBFgsoBkhQHDVJChsdyUoL5FoFsZ6Je+c+Hvl5TZuI51QQCMu2TDY+qDC9/tHpzVQEr7PTHxB0m5rp6e6Q5HcRzhQwYjUC3AVkkZBfEJlfWPionIVcyZqQNbomhBlMkM8sWeTgopPMqW8kGFaWMfU2ZkRoll78vMcYSmw6VBS/Y="
- secure: "igL6w789tFas8Vadj2uXVUnr8Z+8AwNJfCUDuWPtrxeX2tIwvzNsbiT+untMgSULlIzT5zbBCvXW6MjyUmsMAnZalHoQqIaEnLPM12gazf2wr7cUpCxZbGE/ukCcqoBnW+8MLNahQAu4xEks460oN5r9S3ngVPGeTeJv50iM8Ss="
- secure: "II07EH8qNtu97EY/VXlRwZ4EgzVShLS8gztXCFkLXCbdNWn+ZWOdAf0QIpgnFEGx8/M1QOLqQCmEaUyl6S9cs/yRg94wKtX6g4JQ3KRVNi7yn7TBYGBBKBAzB2rZP84I4LKBJZqJIQm1ZQcfEfJT+BlUd6vBH5Y6FJltHTKq5Yk="
- secure: "FM2LKGe8UfXJeoqWnAk29Ib5yIIpKp221GZLgMSk0TanF2YWz+/dGTQu0kHyx1wlS+4zzzzNE9n4PMGcV1SUU5sbFfOL0bweIQwrjFPv0ayxGXqAptYm7BzXsCilGPYt9EKIz/Q78tVxnpyQZKnwLVAt6TCexQCburFPZjbkH7M="
- secure: "sA/zUb07WEB168qWy3SoqEOHgH/87FHtaPy/X7cEClgtcNXUCisLO+vTNq7Gee1PmYVilim0CRGqf71B1SgRmo1zJwzgKJg+LJN1RZtZ+dEhBKKU6S7KLBqn21k1mUti+iqf3CRUKj1KgadyEh67VmjJ59g0LIbnvCYwW/X4Utc="
script:
- |
if [[ $(uname -s) == 'Darwin' ]]; then
brew install ccache
export CC="ccache clang -Qunused-arguments"
export CXX="ccache clang++ -Qunused-arguments"
fi
# fixes clang-3.4 compile with node v6
- |
if [[ $(uname -s) == 'Linux' ]]; then
export CC="ccache clang-3.5 -Qunused-arguments"
export CXX="ccache clang++-3.5 -Qunused-arguments"
fi
# install node from binary to dodge makefile bug
# in node v6 where it needs an existing node before one is built
- git clone --depth 1 https://github.com/creationix/nvm.git ./__nvm
- source ./__nvm/nvm.sh
- nvm install ${NODE_VERSION}
- nvm use ${NODE_VERSION}
- ./.travis.sh