services:
  - docker
language: node_js
cache:
  directories:
    - node_modules
node_js:
  - '8'
  - '10'
  - '11'

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

before_script:
  - sudo pip install fonttools==3.42.0 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'
  - '11'

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

Revert "Travis: Stay at fonttools 3.42.0"
Revert "Travis: Stay at fonttools 3.42.0"

It should pick up the fixed 3.43.1 now: https://github.com/fonttools/fonttools/issues/1650#issuecomment-503519868

This reverts commit 421e463bf53edb23630426ef423483de80e6bd2f.
