sudo: false
language: node_js
node_js:
  - "4"
  - "6"
env:
  - CXX=g++-4.8
addons:
  apt:
    sources:
      - ubuntu-toolchain-r-test
    packages:
      - g++-4.8
before_install:
  - npm install -g bob coveralls --loglevel error
script:
  - DEBUG=canihaz bob build
after_success:
  - cat .bob/coverage/buster-istanbul/lcov.info | coveralls

sudo: true
env:
  - NODE_VERSION="4.4"
  - NODE_VERSION="6.3"
os:
  - osx
before_install:
  - brew update
  - brew install libusb
  - brew install nvm
  - export NVM_DIR=~/.nvm
  - source $(brew --prefix nvm)/nvm.sh
  - nvm install $NODE_VERSION
  - node --version
  - npm --version
  - npm update -g npm
  - npm install -g bob coveralls --loglevel error
  - npm install
script:
  - bob build
after_success:
  - cat .bob/coverage/buster-istanbul/lcov.info | coveralls

Revert "Update Travis config to latest. Update Travis config to use latest v4 and latest v6 ."
Revert "Update Travis config to latest. Update Travis config to use latest v4 and latest v6 ."

This reverts commit dd43b108acde45101d00e50d6a6b577b0630fcc5.
