language: node_js

env:
  - CXX=g++-4.8

node_js:
  - 4
  - 6
  - 7
  - 8

sudo: required

notifications:
  email:
    - lilleman@larvit.se
    - tobias@nublar.se

before_install:
  - $CXX --version

install:
  - if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
  - npm i

services:
  - rabbitmq

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8

script: env CONSTR="amqp://guest:guest@127.0.0.1/" mocha

language: node_js

env:
  - CXX=g++-4.8

node_js:
  - 6
  - 7
  - 8
  - 9

sudo: required

notifications:
  email:
    - lilleman@larvit.se
    - tobias@nublar.se

before_install:
  - $CXX --version

install:
  - if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX=g++-4.8; fi
  - npm i

services:
  - rabbitmq

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test
    packages:
    - g++-4.8

script: env CONSTR="amqp://guest:guest@127.0.0.1/" mocha

Drop node 4 support and added node 9 support
Drop node 4 support and added node 9 support
