forked from intel/iotivity-node
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
78 lines (62 loc) · 1.7 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
74
75
76
77
78
sudo: false
language: cpp
matrix:
fast_finish: true
include:
- env: NODE_VERSION=0.10 TEST_SCRIPT=ci
os: linux
addons: &buildpackages
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libboost-all-dev
- libcurl4-openssl-dev
- uuid-dev
- g++-4.8
- env: NODE_VERSION=0.12 TEST_SCRIPT=ci
os: linux
addons: *buildpackages
- env: NODE_VERSION=4.0 TEST_SCRIPT=ci
os: linux
addons: *buildpackages
- env: NODE_VERSION=4.0 TEST_SCRIPT=ci-lint
os: linux
- env: NODE_VERSION=0.12 TEST_SCRIPT=ci-basic
os: osx
# Allowed failures must be specified twice - once in "include" to have them
# run, and again in "allowed_failures" to not have them break the build.
# Below are the allowed failures:
- env: NODE_VERSION=0.10 TEST_SCRIPT=ci
os: osx
- env: NODE_VERSION=0.12 TEST_SCRIPT=ci
os: osx
- env: NODE_VERSION=4.0 TEST_SCRIPT=ci
os: osx
allow_failures:
- env: NODE_VERSION=0.10 TEST_SCRIPT=ci
os: osx
- env: NODE_VERSION=0.12 TEST_SCRIPT=ci
os: osx
- env: NODE_VERSION=4.0 TEST_SCRIPT=ci
os: osx
install:
- >
if test "x${TRAVIS_OS_NAME}x" = "xlinuxx"; then
export CXX="g++-4.8" CC="gcc-4.8"
fi
- rm -rf ~/.nvm
- wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.26.1/install.sh | bash
- source ~/.nvm/nvm.sh
- nvm install "${NODE_VERSION}"
- npm install -g npm@^2.14.2
- >
if test "x${TRAVIS_OS_NAME}x" = "xosxx"; then
brew install scons
fi
- npm install -g grunt-cli
script: npm run-script "${TEST_SCRIPT}"
notifications:
irc:
channels:
- "chat.freenode.net#iotivity-node"