aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml45
1 files changed, 45 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..7abd2e2
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,45 @@
+language: node_js
+
+node_js:
+ - node
+
+os:
+ - linux
+
+dist:
+ - bionic
+
+services:
+ - docker
+
+notifications:
+ email:
+ - 'info@valentineus.link'
+
+cache:
+ yarn: true
+ directories:
+ - node_modules
+
+install:
+ - 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