diff --git a/.travis.yml b/.travis.yml index 0a00ecb..d9e5533 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,24 @@ language: node_js +node_js: + - 9 + - 8 + cache: directories: - ~/.npm notifications: email: false -node_js: - - '9' - - '8' - - '6' - - '4' -after_success: - - npm run travis-deploy-once "npm run semantic-release" + +jobs: + include: + - stage: release + node_js: lts/* + deploy: + provider: script + skip_cleanup: true + script: + - npm run travis-deploy-once "npm run semantic-release" + branches: except: - /^v\d+\.\d+\.\d+$/