diff --git a/.travis.yml b/.travis.yml index 8173341..294539c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,11 +1,11 @@ -sudo: false dist: trusty language: node_js node_js: 8 -notifications: - email: false +branches: + except: + - /^v\d+\.\d+\.\d+$/ cache: yarn: true @@ -23,9 +23,13 @@ install: script: - true -after_success: - - yarn travis-deploy-once "yarn semantic-release" +jobs: + include: + - stage: Release + if: branch = master AND type = push + node_js: node + script: yarn semantic-release + +notifications: + email: false -branches: - except: - - /^v\d+\.\d+\.\d+$/