aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-09-03 15:39:47 +0300
committerValentin Popov <info@valentineus.link>2019-09-03 15:39:47 +0300
commit0d7e1f6f42b078dbb8c6224e406631224dd0534a (patch)
treea33d4691e5f7ec446b2eb789bef2030155674d04
parent5026375ba43e7c6bdffbab1d38cd72a3ddb2c0ad (diff)
downloadelectron-hot-reload-0d7e1f6f42b078dbb8c6224e406631224dd0534a.tar.xz
electron-hot-reload-0d7e1f6f42b078dbb8c6224e406631224dd0534a.zip
Added Travis file
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--.travis.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..38ed314
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,37 @@
+language: node_js
+
+os:
+ - linux
+
+dist:
+ - bionic
+
+services:
+ - docker
+
+notifications:
+ email:
+ - 'info@valentineus.link'
+
+before_deploy:
+ - git stash --all
+ - yarn install
+ - yarn run build
+ - npm pack
+
+deploy:
+ - provider: npm
+ skip_cleanup: true
+ email: 'info@valentineus.link'
+ api_key: $NPM_PROJECT_TOKEN
+ on:
+ tags: true
+
+ - provider: releases
+ skip_cleanup: true
+ file_glob: true
+ file: 'electron-hot-reload-*.tgz'
+ email: 'info@valentineus.link'
+ api_key: $GITHUB_PROJECT_TOKEN
+ on:
+ tags: true