diff --git a/.travis.yml b/.travis.yml index d5cc3196f..7cf380622 100644 --- a/.travis.yml +++ b/.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="" script: - make greenkeeper-lockfile