mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
Merge pull request #99 from prymitive/travis-gk
fix(ci): tweak Greenkeeper stage config
This commit is contained in:
12
.travis.yml
12
.travis.yml
@@ -26,6 +26,18 @@ jobs:
|
||||
# do anything for other branches or PRs
|
||||
if: branch =~ /^greenkeeper.*/
|
||||
<<: *DEFAULTS_JS
|
||||
# disable cache for Greenkeeper stage, having cache causes greenkeeper
|
||||
# to scan the entire node_modules looking for package.json files
|
||||
# it also doesn't need the cache for anything, it's an external command
|
||||
# installed manually
|
||||
cache:
|
||||
directories: []
|
||||
# change the name and the email in the commit modifying package-lock.json
|
||||
# to match user commiting changes to package.json
|
||||
# https://github.com/greenkeeperio/greenkeeper-lockfile/pull/101
|
||||
env:
|
||||
- GK_LOCK_COMMIT_NAME="greenkeeper[bot]"
|
||||
- GK_LOCK_COMMIT_EMAIL="<greenkeeper[bot]@users.noreply.github.com>"
|
||||
script:
|
||||
- make greenkeeper-lockfile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user