Skip to content

Commit 1690160

Browse files
authored
chore(ci): upgrade node to 12 (#273)
* ci: upgrade node to 12 * chore(ci): update test coverage check * chore: update ci
1 parent f406ef8 commit 1690160

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ notifications:
77
88

99
node_js:
10-
- 10
10+
- 12
1111

1212
before_install:
1313
- |
@@ -16,12 +16,11 @@ before_install:
1616
echo "Only docs were updated, stopping build process."
1717
exit
1818
fi
19-
npm install [email protected] -g
20-
phantomjs --version
2119
script:
2220
- |
2321
if [ "$TEST_TYPE" = test ]; then
24-
npm test
22+
npm test -- --coverage && \
23+
bash <(curl -s https://codecov.io/bash)
2524
else
2625
npm run $TEST_TYPE
2726
fi

0 commit comments

Comments
 (0)