Skip to content

Commit 1942c70

Browse files
committed
Move greenkeeper-lockfile-upload to after_script, not after_success
This is in accordance with their spec, and also will allow us to see if there are any errors with how we're doing things.
1 parent a6ff76c commit 1942c70

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ script:
147147
# even if another task in script.sh fails.
148148
- if [[ $JS ]]; then npm run danger; fi
149149

150+
after_script:
151+
- if [[ $JS ]]; then greenkeeper-lockfile-upload; fi
152+
150153
after_success:
151154
- bash scripts/travis/after_success.sh
152155

scripts/travis/after_success.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,3 @@ if [[ $JS ]]; then
1212
npm install coveralls
1313
./node_modules/.bin/coveralls < ./coverage/lcov.info
1414
fi
15-
16-
if [[ $JS ]]; then
17-
greenkeeper-lockfile-upload
18-
fi

0 commit comments

Comments
 (0)