sudo: required
dist: trusty
language: node_js
node_js:
  - lts
  - "5.0"
  - "5.1"
  - "5.2"
  - "5.3"
  - "5.4"
  - "5.5"
  - "5.6"
  - "5.7"
  - "5.8"
  - "5.9"
  - "5.10"
  - "5.11"
  - "6.0"
  - node
matrix:
  allow_failures:
    - node_js: lts
before_install: sudo apt-get update && sudo apt-get install lcov -y
before_script: npm install -g coveralls node-gyp
after_success:
  - npm run benchmark
  - node-gyp --debug rebuild
  - npm test -- --coverage --coverage-report=lcov
  - lcov -c -d . --no-external -o lcov-cpp.info
  - lcov -r lcov-cpp.info "*/node_modules/*" -o lcov-cpp.info
  - lcov -a lcov-cpp.info -a coverage/lcov.info -o lcov.info
  - coveralls < lcov.info

sudo: required
dist: trusty
language: node_js
node_js:
  - "4.4"
  - "5.0"
  - "5.1"
  - "5.2"
  - "5.3"
  - "5.4"
  - "5.5"
  - "5.6"
  - "5.7"
  - "5.8"
  - "5.9"
  - "5.10"
  - "5.11"
  - "6.0"
  - "6.1"
  - "6.2"
matrix:
  allow_failures:
    - node_js: lts
before_install: sudo apt-get update && sudo apt-get install lcov -y
before_script: npm install -g coveralls node-gyp
after_success:
  - npm run benchmark
  - node-gyp --debug rebuild
  - npm test -- --coverage --coverage-report=lcov
  - lcov -c -d . --no-external -o lcov-cpp.info
  - lcov -r lcov-cpp.info "*/node_modules/*" -o lcov-cpp.info
  - lcov -a lcov-cpp.info -a coverage/lcov.info -o lcov.info
  - coveralls < lcov.info

Fix versions to test, don't use aliases
Fix versions to test, don't use aliases
