From 7a95984278801a5795946b64fb83567a64348b65 Mon Sep 17 00:00:00 2001 From: Kermit Xuan Date: Mon, 31 Aug 2020 23:07:32 +0800 Subject: [PATCH] chore(ci): upgrade node to 12 (#199) * chore(ci): upgrade node to 12 * chore: update ci * chore: update ci * chore: update ci * chore: update ci * chore: update ci * chore: update ci --- .travis.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 76e37e47..908a1a89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,10 +5,9 @@ sudo: false notifications: email: - yiminghe@gmail.com - - hust2012jiangkai@gmail.com node_js: -- 10 +- 12 before_install: - | @@ -17,11 +16,11 @@ before_install: echo "Only docs were updated, stopping build process." exit fi - phantomjs --version script: - | if [ "$TEST_TYPE" = test ]; then - npm test + npm test -- --coverage && \ + bash <(curl -s https://codecov.io/bash) else npm run $TEST_TYPE fi