sudo: false
language: node_js
notifications:
  email: true
node_js:
  - '6'
script:
  - npm test
branches:
  except:
    - /^v\d+\.\d+\.\d+$/
deploy:
  skip_cleanup: true
  provider: script
  script: npm run semantic-release
  on:
    branch: next
 

sudo: false
language: node_js
notifications:
  email: true
node_js:
  - '6'
script:
  - npm test
branches:
  except:
    - /^v\d+\.\d+\.\d+$/
after_success:
  - npm run semantic-release

Use after_success instead of deploy in Travis
chore: Use after_success instead of deploy in Travis
