summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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