forked from justinlatimer/node-midi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (37 loc) · 779 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
25
26
27
28
29
30
31
32
33
34
35
36
37
language: node_js
node_js:
- "6.2"
- "5.1"
- "4.2"
- "0.12"
- "0.10"
- "0.8"
- "iojs"
- "iojs-v2"
- "iojs-v1"
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
- libasound2-dev
notifications:
email: false
# Travis has no snd-dummy driver (https://github.com/travis-ci/travis-ci/issues/1754)
# preventing our tests from running. Instead we disable the default `npm install`
# installation step and run it as test script so compilation errors will mark the
# build as failed.
install:
- case ${TRAVIS_NODE_VERSION} in
iojs*)
echo "Not upgrading npm for iojs."
;;
*)
npm update -g npm
;;
esac
script:
- export CXX=g++-4.8
- npm install