-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from sudo-suhas/greenkeeper/initial
Update dependencies to enable Greenkeeper 🌴
- Loading branch information
Showing
1 changed file
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,29 @@ | ||
language: node_js | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
|
||
node_js: | ||
- '8' | ||
- '7' | ||
- '6' | ||
- '4' | ||
|
||
branches: | ||
except: | ||
- /^v\d+\.\d+\.\d+$/ | ||
|
||
before_install: | ||
# package-lock.json was introduced in npm@5 | ||
- npm install -g npm@5 | ||
- npm install -g greenkeeper-lockfile@1 | ||
|
||
before_script: greenkeeper-lockfile-update | ||
|
||
script: npm run check | ||
after_success: npm run coverage | ||
|
||
# Only the node version 8 job will upload the lockfile | ||
after_script: | ||
- greenkeeper-lockfile-upload | ||
- npm run coverage |