language: node_js
sudo: false
before_install:
  - npm install -g npm
node_js:
  - "0.10"
  - "0.12"
  - "4"
  - "5"
  - "6"

branches:
  only:
    - master
    - /^maint\/.+/
    - /v\d+\.\d+\.\d+/

cache:
  directories:
    - node_modules

deploy:
  provider: npm
  skip_cleanup: true
  email: "schreiber.arthur@googlemail.com"
  api_key:
    secure: pSwLyKvYC3sxv0qxvbZy2W4ENXeE7/7emnnFJ8BMEYBTel/g+An0fN9lbtZSPoOaCEUVWEa2DzCHvU0jZ+qiOB1iZ+Swav9Ka0aOW54mtiig7oQY3GZpNvMkBhMPmkyIloECjFKNpxnZyi/ZHUjJLhu04o36xcAWASowfs3Mdwg=
  on:
    tags: true
    repo: pekim/tedious
    node: "0.10"

language: node_js
sudo: false
before_install:
  - npm install -g npm
node_js:
  - "0.10"
  - "0.12"
  - "4"
  - "5"
  - "6"

branches:
  only:
    - master
    - /^maint\/.+/
    - /v\d+\.\d+\.\d+/

cache:
  directories:
    - node_modules

deploy:
  provider: npm
  skip_cleanup: true
  email: "schreiber.arthur@googlemail.com"
  api_key:
    secure: pSwLyKvYC3sxv0qxvbZy2W4ENXeE7/7emnnFJ8BMEYBTel/g+An0fN9lbtZSPoOaCEUVWEa2DzCHvU0jZ+qiOB1iZ+Swav9Ka0aOW54mtiig7oQY3GZpNvMkBhMPmkyIloECjFKNpxnZyi/ZHUjJLhu04o36xcAWASowfs3Mdwg=
  on:
    tags: true
    repo: tediousjs/tedious
    node: "0.10"

Fix repo name in configuration.
Travis: Fix repo name in configuration.