services:
  - docker
language: node_js
cache:
  directories:
    - node_modules
node_js:
  - '8.11'
  - '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 ci'
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'
  - '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 ci'
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

Build with node 8 instead of 8.11 now that 8.13.0 has been released with a fix for the bug that caused unexpected-mitm not to work
Travis: Build with node 8 instead of 8.11 now that 8.13.0 has been released with a fix for the bug that caused unexpected-mitm not to work
