aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2017-10-09 17:20:25 +0300
committerValentin Popov <info@valentineus.link>2017-10-09 17:20:25 +0300
commit566124f2f348f87c55a8c6ee819cf3a12265c52a (patch)
treef937745a018509b180448da89c6f126e2031d1f5 /.travis.yml
parent50be69283c3860bb1d9a94bb35e5ff06dec8d4ad (diff)
downloadiii-client-566124f2f348f87c55a8c6ee819cf3a12265c52a.tar.xz
iii-client-566124f2f348f87c55a8c6ee819cf3a12265c52a.zip
Many small improvements in automatic testing and deployment
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml16
1 files changed, 10 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index c50cf2b..eb21cb9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,8 @@ node_js:
- "8"
- "7"
- "6"
+ - "5"
+ - "4"
os:
- linux
@@ -18,7 +20,7 @@ before_install:
- npm install --global codacy-coverage
install:
- - npm install --only=development
+ - npm install
script:
- npm run check
@@ -35,9 +37,11 @@ jobs:
node_js: "8"
os: "linux"
before_deploy:
- - npm run build
+ - git stash --all
+ - npm install
+ - npm run build
deploy:
- provider: npm
- skip_cleanup: true
- email: "info@valentineus.link"
- api_key: $NPM_PROJECT_TOKEN
+ provider: npm
+ skip_cleanup: true
+ email: "info@valentineus.link"
+ api_key: $NPM_PROJECT_TOKEN