Skip to content

Commit aca966a

Browse files
committedApr 23, 2022
Prevent test-node from running twice in CI on Node.js 14
`npm run coveralls` implies `npm run test-node`, so the latter does not need to be run separately. This also means that `npm run lint` is skipped on Node.js 14, which is fine because it is expected to give the same result in every version of Node.js.
1 parent a3c2c66 commit aca966a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ before_script:
2020
- npm install karma-sauce-launcher
2121
- "[ $DOWNGRADE = false ] || npm install rollup@1"
2222
script:
23-
- npm test
23+
- "[ $EXTRA = true ] || npm test"
24+
- "[ $EXTRA = false ] || npm run coveralls"
2425
- "[ $EXTRA = false ] || npm run test-browser"
2526
- "[ $EXTRA = false ] || karma start karma.conf-sauce.js"
26-
- "[ $EXTRA = false ] || npm run coveralls"
2727
notifications:
2828
email: false
2929
env:

0 commit comments

Comments
 (0)
Please sign in to comment.