Skip to content
This repository was archived by the owner on Oct 3, 2024. It is now read-only.

Commit d10f4cc

Browse files
Run Travis with Node.js 10, Node.js 12 and Node.js 14
1 parent bfbbd9f commit d10f4cc

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ git:
55
depth: false
66
node_js:
77
- "10"
8-
- "8"
8+
- "12"
9+
- "14"
910
script:
1011
- yarn typecheck
1112
- yarn build

scripts/test-ci.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
set -euo pipefail
44

5-
# run tests with coverage and reports only for nodejs 8
5+
# run tests with coverage and reports only for nodejs 10
66
# this is required for sonarcloud analysis
7-
if [ "${TRAVIS_NODE_VERSION}" = "8" ]; then
7+
if [ "${TRAVIS_NODE_VERSION}" = "10" ]; then
88
echo 'Running tests with coverage and reporter'
9-
# install `jest-sonar-reporter` here, because otherwise `yarn install` fails on nodejs 6
9+
# install `jest-sonar-reporter` here, because otherwise `yarn install` fails on nodejs
1010
1111
yarn test --coverage --testResultsProcessor jest-sonar-reporter
1212
else

0 commit comments

Comments
 (0)