language: node_js
node_js:
  - "4"
  - "5"
services:
  - mongodb
before_install:
  - git config --global user.email "you@example.com"
  - git config --global user.name "travisbuild"
before_script:
  - npm version 0.1.$TRAVIS_BUILD_NUMBER
deploy:
  provider: npm
  email: "dejan@fajfar.com"
  api_key: "$npm_key"
  on: master
language: node_js
node_js:
  - "4"
  - "5"
services:
  - mongodb
before_install:
  - git config --global user.email "you@example.com"
  - git config --global user.name "travisbuild"
before_script:
  - npm version 0.1.$TRAVIS_BUILD_NUMBER
deploy:
  provider: npm
  email: "dejan@fajfar.com"
  api_key: "$npm_key"
  on: release
Allow nam deploy only from RELEASE branch
Allow nam deploy only from RELEASE branch
