Skip to content

Commit

Permalink
fix travis deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Nov 19, 2017
1 parent 71afe44 commit a1fff18
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ stages:
- name: Deploy
if: tag IS present

cache:
directories:
- node_modules
before_cache: rm -rf node_modules/.cache

stdJob: &stdJob
stage: Test
cache:
directories:
- node_modules
before_cache: rm -rf node_modules/.cache
before_script: greenkeeper-lockfile-update
script:
- if [ $SNYK_TOKEN ]; then snyk test --dev; fi;
Expand All @@ -37,7 +38,6 @@ jobs:
<<: *stdJob
- stage: Deploy
node_js: *node_latest
install: true
script: true
before_deploy: node ./prepublish.js
deploy:
Expand Down

0 comments on commit a1fff18

Please sign in to comment.