language: cpp

os:
 - osx
 - linux

sudo: false

env:
  matrix:
   - NODE_NVM_VERSION="0.10.36"
   - NODE_NVM_VERSION="0.12.0"

before_install:
 - git clone --depth 1 https://github.com/creationix/nvm.git ../.nvm
 - source ../.nvm/nvm.sh
 - nvm install $NODE_NVM_VERSION
 - nvm use $NODE_NVM_VERSION

install:
 - npm install

before_script:
 - make

script:
 - make test

language: cpp

os:
 - osx
 - linux

sudo: false

branches:
  only:
    - gh-pages
    - /^.*$/

env:
  matrix:
   - NODE_NVM_VERSION="0.10.36"
   - NODE_NVM_VERSION="0.12.0"

before_install:
 - git clone --depth 1 https://github.com/creationix/nvm.git ../.nvm
 - source ../.nvm/nvm.sh
 - nvm install $NODE_NVM_VERSION
 - nvm use $NODE_NVM_VERSION

install:
 - npm install

before_script:
 - make

script:
 - make test

Check all branches with Travis
Check all branches with Travis