sudo: required
language: node_js
env:
  - NODE_APP_BIN="./vnstat"
before_install:
  - 'wget https://frankl.in/u/vnstat_bin.tar'
  - 'tar xvf vnstat_bin.tar'
  - 'sudo ./vnstatd -d'
  - 'sudo ./vnstat -u -i $NODE_APP_IFACE'
node_js:
  - '4'
  - '6'
  - '7'

sudo: required
language: node_js
env:
  - NODE_APP_BIN="./vnstat"
before_install:
  - 'wget https://frankl.in/u/vnstat_bin.tar'
  - 'tar xvf vnstat_bin.tar'
  - 'sudo ./vnstatd -d'
  - 'sudo ./vnstat -u -i $NODE_APP_IFACE'
node_js:
  - '9'
  - '8'
  - '6'

Update Travis CI node versions
Test(config): Update Travis CI node versions