From 924e90b038fcf0605a6857572c19e7309cbe3b0b Mon Sep 17 00:00:00 2001 From: Luca Perret Date: Fri, 23 Mar 2018 22:14:26 +0100 Subject: [PATCH] ci(deploy): run semantic release within travis --- .travis.yml | 23 ++++++++++------------- 1 file changed, 10 insertions(+), 13 deletions(-) diff --git a/.travis.yml b/.travis.yml index 349e32e..fc07a89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,15 @@ language: node_js -cache: - directories: - - node_modules -notifications: - email: false node_js: - '8' -before_script: - - npm prune +cache: + directories: + - "node_modules" script: - - npm run test + - npm run lint + - npm test - npm run coveralls -after_success: - - npm run semantic-release -branches: - except: - - /^v\d+\.\d+\.\d+$/ +deploy: + provider: script + skip_cleanup: true + script: + - npx semantic-release