sudo: false
dist: trusty
language: node_js
node_js:
- v4
- v6
- node

cache:
  directories:
  - node_modules

notifications:
  email:
    on_failure: change

install: npm install --tldjs-update-rules

script: xvfb-run -a npm test

post_script: npm run benchmark

deploy:
  provider: npm
  email: hi@oncletom.io
  skip_cleanup: true
  api_key:
    secure: D+AvrtOi8eox2H+j6T1EmaRrFThTDRlfRDQjDdCs7D1WnPoSs0wMcnd0lVi0lEj68URkm/4fDmHVtLXt1V8BLyfHwt3bZUsF1pe77qUTZZkmfDI5TRxp/mni6TrpFTlYaqytyunPKm19FciWj/IE2epVhWmJ8kQx/oB/lSq9SFo=
  on:
    tags: true
    node: node
    branch: master
    repo: oncletom/tld.js

sudo: false
dist: trusty
language: node_js
node_js:
- v4
- v6
- node

notifications:
  email:
    on_failure: change

install: npm install --tldjs-update-rules

script: xvfb-run -a npm test

post_script: npm run benchmark

deploy:
  provider: npm
  email: hi@oncletom.io
  skip_cleanup: true
  api_key:
    secure: D+AvrtOi8eox2H+j6T1EmaRrFThTDRlfRDQjDdCs7D1WnPoSs0wMcnd0lVi0lEj68URkm/4fDmHVtLXt1V8BLyfHwt3bZUsF1pe77qUTZZkmfDI5TRxp/mni6TrpFTlYaqytyunPKm19FciWj/IE2epVhWmJ8kQx/oB/lSq9SFo=
  on:
    tags: true
    node: node
    branch: master
    repo: oncletom/tld.js

Remove TravisCI cache, we do not care it tests last a minute longer
Remove TravisCI cache, we do not care it tests last a minute longer
