File tree Expand file tree Collapse file tree 3 files changed +14546
-1
lines changed Expand file tree Collapse file tree 3 files changed +14546
-1
lines changed Original file line number Diff line number Diff line change 4
4
# NPM
5
5
/node_modules
6
6
npm- *
7
- /package-lock.json
8
7
9
8
# Testing
10
9
/.nyc_output
Original file line number Diff line number Diff line change 14
14
cache :
15
15
directories :
16
16
- node_modules
17
+ before_install :
18
+ # package-lock.json was introduced in npm@5
19
+ - ' [[ $(node -v) =~ ^v9.*$ ]] || npm install -g npm@latest' # skipped when using node 9
20
+ - npm install -g greenkeeper-lockfile
17
21
install :
18
22
- npm --production=false install
19
23
- npm --production=false update
24
+ before_script : greenkeeper-lockfile-update
20
25
script :
21
26
- npm test
22
27
- if [ "$TRAVIS_EVENT_TYPE" == "pull_request" ] && [ "$TRAVIS_BRANCH" == "master" ]; then npm run test:smoke; fi
28
+ after_script : greenkeeper-lockfile-upload
23
29
before_deploy :
24
30
- >
25
31
if [ -z "$BEFORE_DEPLOY_RAN" ]; then
You can’t perform that action at this time.
0 commit comments