Created
December 21, 2018 00:14
-
-
Save aleclarson/a05ddf34bcc9395a9e53f88b921fc347 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 92e2a0844b1e12b5d2ad9febbd76e3efa75d81bd Mon Sep 17 00:00:00 2001 | |
From: aleclarson <alec.stanford.larson@gmail.com> | |
Date: Thu, 20 Dec 2018 12:34:32 -0500 | |
Subject: [PATCH] ci: use semantic-release | |
--- | |
.travis.yml | 19 +++++++++++++++++++ | |
package.json | 2 +- | |
2 files changed, 20 insertions(+), 1 deletion(-) | |
create mode 100644 .travis.yml | |
diff --git a/.travis.yml b/.travis.yml | |
new file mode 100644 | |
index 0000000..1422bdc | |
--- /dev/null | |
+++ b/.travis.yml | |
@@ -0,0 +1,19 @@ | |
+language: node_js | |
+node_js: | |
+ - '8' | |
+ - '10' | |
+ - 'node' | |
+cache: npm | |
+notifications: | |
+ email: false | |
+branches: | |
+ except: | |
+ - '/^v\d+\.\d+\.\d+$/' | |
+jobs: | |
+ include: | |
+ - stage: deploy | |
+ if: branch == master && !fork | |
+ node_js: '8.9.1' # pre-installed version | |
+ script: | |
+ - npm install -g semantic-release@^15 | |
+ - semantic-release | |
diff --git a/package.json b/package.json | |
index ebf5f8b..d019d1f 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -4,7 +4,7 @@ | |
"description": "gets a meta file and its contents", | |
"main": "index.js", | |
"scripts": { | |
- "test": "npm test" | |
+ "test": "echo 'No tests'" | |
}, | |
"husky": { | |
"hooks": { | |
-- | |
2.19.2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment