Skip to content

Commit

Permalink
test on node 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Mar 5, 2016
1 parent c21be55 commit ad1b872
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ language: node_js

node_js:
- "0.10"
- "0.12"
- "4"

sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libstdc++6 # upgrade libstdc++ on linux to support C++11

before_install:
# install c++11 capable libstdc++ without sudo
- if [[ $(uname -s) == 'Linux' ]]; then wget https://launchpad.net/~ubuntu-toolchain-r/+archive/ubuntu/test/+files/libstdc%2B%2B6_4.8.1-2ubuntu1~12.04_amd64.deb && dpkg -x libstdc++6_4.8.1-2ubuntu1~12.04_amd64.deb ./ && export LD_PRELOAD=$(pwd)/usr/lib/x86_64-linux-gnu/libstdc++.so.6; fi
sudo: false

install:
- npm install --fallback-to-build=false
Expand Down

0 comments on commit ad1b872

Please sign in to comment.