language: node_js
node_js:
- '0.10'
- '0.11'
- '0.12'
- '4.0'
- '5.0'
- iojs
sudo: false
after_script: npm install codecov.io && cat ./coverage/lcov.info | codecov
deploy:
  provider: releases
  api_key:
    secure: SHufUrKqQGHul65JBr+P65InlzbR1MIvvUC9LaEiHwKzJ0NhzqbgNfVyJC3nV03i0WjrM6ZL0E/ppUY+gRiHDxwhIfrP+V84WIHA9xVxW5PPnvLconbI3e5+P5WCqzSpm+bKg+70uo6LNmv3WM09QWsZZXVzkeXDfrRL0o7U5sI=
  file:
    - "remark-toc.js"
    - "remark-toc.min.js"
  on:
    tags: true

language: node_js
node_js:
- '0.10'
- '0.11'
- '0.12'
- '4.0'
- '5.0'
- iojs
sudo: false
after_script: npm install codecov.io && cat ./coverage/lcov.info | codecov
deploy:
  - provider: npm
    email: tituswormer@gmail.com
    api_key:
      secure: KDKwvBgWuimRB105GFjaSKGMvuPkqb7NDv+NIlKWbxTlywt/NZCy/WmK4G9NDLn6HF+qCXmP9CqIw3BsMygDrUB1PQXCjISQJnct0ibk3HFzG3oc8HAl07jMEg/hetQCeMcky5SN+LM446okMZRp27vOuchR3PwddKRTQ84ERbE=
    on:
      tags: true
      node: '5.0'
  - provider: releases
    api_key:
      secure: SHufUrKqQGHul65JBr+P65InlzbR1MIvvUC9LaEiHwKzJ0NhzqbgNfVyJC3nV03i0WjrM6ZL0E/ppUY+gRiHDxwhIfrP+V84WIHA9xVxW5PPnvLconbI3e5+P5WCqzSpm+bKg+70uo6LNmv3WM09QWsZZXVzkeXDfrRL0o7U5sI=
    file:
      - "remark-toc.js"
      - "remark-toc.min.js"
    on:
      tags: true

Add npm deployment to Travis
Add npm deployment to Travis
