FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Added osx for testing on Travis by johnhaley81 · Pull Request #281 · nodegit/nodegit · GitHub

Repository navigation

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .yml  (1) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
27 changes: 18 additions & 9 deletions .travis.yml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Back | FazBrowse Home | New Git URL