Skip to content

Commit 776e569

Browse files
committed
ci(travis): run "greenkeeper-webhooks-update" script before tests
1 parent cd16d7d commit 776e569

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.travis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,6 @@ stages:
2121

2222
jobs:
2323
include:
24-
- stage: test
25-
node_js: 6
26-
- node_js: 8
27-
- node_js: 10
28-
2924
# when updating @octokit/routes, run "generate-routes" script and push
3025
# new routes.json file to the pull request
3126
- stage: greenkeeper-webhooks-update
@@ -36,6 +31,11 @@ jobs:
3631
# commit changes and push back to branch on GitHub. If there are no changes then exit without error
3732
- 'git commit -a -m "build: known webhooks" --author="Octokit Bot <[email protected]>" && git push "https://${GH_TOKEN}@github.com/$TRAVIS_REPO_SLUG" ${TRAVIS_BRANCH} || true'
3833

34+
- stage: test
35+
node_js: 6
36+
- node_js: 8
37+
- node_js: 10
38+
3939
# run semantic-release and coverage in parallel
4040
- stage: release
4141
script: npm run semantic-release

0 commit comments

Comments
 (0)