From 9fb4a29acca40593df3ac26fb43d056576d4d91b Mon Sep 17 00:00:00 2001 From: ridermansb Date: Mon, 25 Sep 2017 10:27:01 -0300 Subject: [PATCH] ci($travis): Add Travis support --- .travis.yml | 16 ++++++++++++++++ package.json | 6 ++++-- 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..966ed91 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: node_js +cache: + directories: + - node_modules +notifications: + email: false +node_js: + - '8' + - '7' +before_script: + - npm prune +after_success: + - npm run semantic-release +branches: + except: + - /^v\d+\.\d+\.\d+$/ diff --git a/package.json b/package.json index 44c705e..02745b1 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,8 @@ "cz-conventional-changelog": "2.0.0", "validate-commit-msg": "2.14.0", "webpack": "3.6.0", - "webpack-merge": "4.1.0" + "webpack-merge": "4.1.0", + "semantic-release": "^8.0.3" }, "config": { "commitizen": { @@ -39,5 +40,6 @@ "engines": { "node": ">=8.2.0", "npm": ">=5.2.0" - } + }, + "version": "0.0.0-development" }