Skip to content

Commit

Permalink
ci: fix greenper issue
Browse files Browse the repository at this point in the history
Use npm install for Greenkeeper branch
See greenkeeperio/greenkeeper-lockfile#156 (comment)
  • Loading branch information
nokome committed Dec 3, 2018
1 parent 170e205 commit 35133c2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ addons:
before_install:
- openssl aes-256-cbc -K $encrypted_1d93d61b46d3_key -iv $encrypted_1d93d61b46d3_iv -in win-cert.p12.enc -out win-cert.p12 -d

# Use npm install if this is a Greenkeeper branch
# See https://github.com/greenkeeperio/greenkeeper-lockfile/issues/156#issuecomment-397719017
install:
- case $TRAVIS_BRANCH in greenkeeper*) npm i;; *) npm ci;; esac;

# Do linting, coverage, and build docs (to upload to Github pages)
script:
- make lint
Expand Down

0 comments on commit 35133c2

Please sign in to comment.