Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 18 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
# Install GCC 4.8 for C++11 support.
env:
matrix:
- export NODE_VERSION="0.10"
- export NODE_VERSION="0.11"
before_install:
- "sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test"
- "sudo apt-get -qq update"
- "sudo apt-get -qq install g++-4.8"
- "export CXX='g++-4.8'"
- git clone https://github.com/creationix/nvm.git ./.nvm
- source ./.nvm/nvm.sh
- nvm install $NODE_VERSION
- nvm use $NODE_VERSION
- if [ $TRAVIS_OS_NAME == "linux" ]; then
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test;
sudo apt-get -qq update;
sudo apt-get -qq install g++-4.8;
export CXX='g++-4.8';
fi
- "export JOBS=4"
- npm install
# This is a random private key used purely for testing.
before_script:
- echo -e "Host *\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
Expand All @@ -13,15 +23,14 @@ before_script:
- chmod 600 ~/.ssh/id_rsa*
- eval `ssh-agent -s`
- ssh-add ~/.ssh/id_rsa
language: node_js
node_js:
- "0.10"
- 0.11
git:
depth: 1
branches:
only:
- master
os:
- linux
- osx
script: npm --expose-gc test
notifications:
slack:
Expand Down