Skip to content

Commit 6b2fff5

Browse files
committed
Merge pull request #77 from justinlatimer/update-travis
Fix Travis: io.js 3.x requires g++ 4.8
2 parents 87ccc13 + 8759e3f commit 6b2fff5

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

.travis.yml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,22 @@ node_js:
44
- "0.10"
55
- "0.8"
66
- "iojs"
7-
- "iojs-v1.0.4"
8-
before_install:
9-
- sudo apt-get install libasound2-dev alsa-utils alsa-oss
7+
- "iojs-v2"
8+
- "iojs-v1"
9+
addons:
10+
apt:
11+
sources:
12+
- ubuntu-toolchain-r-test
13+
packages:
14+
- g++-4.8
15+
- libasound2-dev
1016
notifications:
1117
email: false
1218
# Travis has no snd-dummy driver (https://github.com/travis-ci/travis-ci/issues/1754)
13-
# so our tests won't run. We run `npm install` as the test script so build errors
14-
# appear as test failures.
19+
# preventing our tests from running. Instead we disable the default `npm install`
20+
# installation step and run it as test script so compilation erros will mark the
21+
# build as failed.
1522
install: true
16-
script: npm install
23+
script:
24+
- export CXX=g++-4.8
25+
- npm install

0 commit comments

Comments
 (0)