services:
  - docker
language: node_js
cache:
  directories:
  - node_modules
node_js:
  - "8"
  - "9"
  - "10"
addons:
  apt:
    packages:
      - gcc-4.8
      - g++-4.8
env: CXX="g++-4.8" CC="gcc-4.8"

before_script:
    - sudo pip install fonttools brotli zopfli

script: "npm install && npm run-script travis"
after_success: "<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js"

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/bce1a1b401d97fe096e2
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: false     # default: false

services:
  - docker
language: node_js
cache:
  directories:
  - node_modules
node_js:
  - "8"
  - "9"

addons:
  apt:
    packages:
      - gcc-4.8
      - g++-4.8
env: CXX="g++-4.8" CC="gcc-4.8"

before_script:
    - sudo pip install fonttools brotli zopfli

script: "npm install && npm run-script travis"
after_success: "<coverage/lcov.info ./node_modules/coveralls/bin/coveralls.js"

notifications:
  webhooks:
    urls:
      - https://webhooks.gitter.im/e/bce1a1b401d97fe096e2
    on_success: change  # options: [always|never|change] default: always
    on_failure: always  # options: [always|never|change] default: always
    on_start: false     # default: false

Revert "Travis: Run with node.js 10"
Revert "Travis: Run with node.js 10"

This reverts commit 61a9c92fdd3f08b04c1dea4e049e14b18c5f2705.
