language: node_js
os:
  - linux
  - osx
  # - windows // FIXME: autoreload tests fail, @see https://travis-ci.com/mashpie/i18n-node/jobs/248343783
node_js:
  - node
  - lts/*
before_install:
  - "npm install -g istanbul"
script:
  - "npm run test-ci"
after_script:
  - "npm install -g coveralls"
  - "cat ./coverage/lcov.info | coveralls"
  # - "npm install -g codeclimate-test-reporter"
  # - "cat ./coverage/lcov.info | CODECLIMATE_REPO_TOKEN=8f4183adc84cb07c9609004de2f43c60e2a54a09c89d99f055919267f5246409 codeclimate-test-reporter"
# addons:
#   code_climate:
#     repo_token: 8f4183adc84cb07c9609004de2f43c60e2a54a09c89d99f055919267f5246409
