Skip to content

Commit

Permalink
Travis CI: Use g++ 4.8
Browse files Browse the repository at this point in the history
Set the CXX, CC, etc. environment variables correctly.
  • Loading branch information
addaleax committed Jan 31, 2016
1 parent 39ea3bd commit dc27bcc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ addons:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
before_install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; AR="gcc-ar-4.8"; RANLIB="gcc-ranlib-4.8"; NM="gcc-nm-4.8"; fi
script:
- ./node_modules/istanbul/lib/cli.js cover ./node_modules/mocha/bin/_mocha --report lcovonly -- -R spec
after_success:
Expand Down

0 comments on commit dc27bcc

Please sign in to comment.