forked from microsoft/napajs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
79 lines (78 loc) · 2.06 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
79
language: node_js
compiler: default
matrix:
exclude:
# Disable the default build and use customized matrix only.
- compiler: default
include:
# Node 6.x Linux (Precise) G++5.4.1
- os: linux
dist: precise
node_js: '6'
compiler: g++-5
addons:
apt:
# The apt source 'ubuntu-toolchain-r-test' is for GCC 5+
# The apt source 'george-edison55-precise-backports' is for CMake 3.2+
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports
packages:
- g++-5
- cmake-data
- cmake
env:
- COMPILER_OVERRIDE="CXX=g++-5 CC=gcc-5"
# Node 6.x OS X (Yosemite) AppleClang 6.1
- os: osx
node_js: '6'
osx_image: xcode6.4
# Node LTS (8.x) Linux (Trusty) G++6.3.0
- os: linux
dist: trusty
node_js: '8'
compiler: g++-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-5
env:
- COMPILER_OVERRIDE="CXX=g++-5 CC=gcc-5"
# Node LTS (8.x) OS X (El Capitan) AppleClang 7.3
- os: osx
node_js: '8'
osx_image: xcode7.3
# Node Stable (9.x) Linux (Trusty) G++6.3.0
# 2017-12-18 : There is a new compability issue for Linux+Node9.3.0, which cases a crash on Napa.js.
# The Node.js version is fixed to 9.2.1 to suppress this issue.
# Should revert this commit when issue resolved.
# - fs-eire
- os: linux
dist: trusty
node_js: '9.2.1'
compiler: g++-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-6
env:
- COMPILER_OVERRIDE="CXX=g++-6 CC=gcc-6"
# Node Stable (9.x) macOS (Sierra) AppleClang 8.1
- os: osx
node_js: '9'
osx_image: xcode8.3
before_install:
- |
if [ $TRAVIS_OS_NAME == linux ]; then
export ${COMPILER_OVERRIDE}
fi
install:
- npm install cmake-js -g
- npm install --no-fetch
script:
- npm test
- npm run unittest