sudo: false
language: node_js
node_js:
  - "4.4"
  - "6.3"
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
  - cat .bob/coverage/buster-istanbul/lcov.info | coveralls

Revert "Update Travis config to latest. Move Coveralls submission to after_success ."
Revert "Update Travis config to latest. Move Coveralls submission to after_success ."

This reverts commit e19c2dcbb2f1637afc50614b50a44ceac6fcaac8.
