From 6f49d34bd10268329d13d8c3c3d2a439b6efc78e Mon Sep 17 00:00:00 2001 From: Kermit Date: Mon, 31 Aug 2020 22:14:58 +0800 Subject: [PATCH 1/7] chore(ci): upgrade node to 12 --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 76e37e47..b0e79f85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ notifications: - hust2012jiangkai@gmail.com node_js: -- 10 +- 12 before_install: - | @@ -21,7 +21,8 @@ before_install: script: - | if [ "$TEST_TYPE" = test ]; then - npm test + npm test -- --coverage && \ + bash <(curl -s https://codecov.io/bash) else npm run $TEST_TYPE fi From 943ba07d3cf45613a176bcda5f38b5075b894754 Mon Sep 17 00:00:00 2001 From: Kermit Date: Mon, 31 Aug 2020 22:20:11 +0800 Subject: [PATCH 2/7] chore: update ci --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b0e79f85..10a8d45a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ sudo: false notifications: email: - yiminghe@gmail.com - - hust2012jiangkai@gmail.com node_js: - 12 @@ -17,6 +16,7 @@ before_install: echo "Only docs were updated, stopping build process." exit fi + npm install npm@6.x -g phantomjs --version script: - | From da9912bdbf8e894baacadfbb808acafbc3685173 Mon Sep 17 00:00:00 2001 From: Kermit Date: Mon, 31 Aug 2020 22:21:22 +0800 Subject: [PATCH 3/7] chore: update ci --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 10a8d45a..86f886ee 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,6 @@ before_install: echo "Only docs were updated, stopping build process." exit fi - npm install npm@6.x -g phantomjs --version script: - | From 94e06b1c08ed5bc6c8edeb3f4b75ae6f55cb97ab Mon Sep 17 00:00:00 2001 From: Kermit Date: Mon, 31 Aug 2020 22:22:48 +0800 Subject: [PATCH 4/7] chore: update ci --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 86f886ee..10a8d45a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,7 @@ before_install: echo "Only docs were updated, stopping build process." exit fi + npm install npm@6.x -g phantomjs --version script: - | From 6ded260f10c9a7b33ed2598de2a8fcd618171e2d Mon Sep 17 00:00:00 2001 From: Kermit Date: Mon, 31 Aug 2020 22:24:42 +0800 Subject: [PATCH 5/7] chore: update ci --- .travis.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 10a8d45a..908a1a89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,8 +16,6 @@ before_install: echo "Only docs were updated, stopping build process." exit fi - npm install npm@6.x -g - phantomjs --version script: - | if [ "$TEST_TYPE" = test ]; then From a99f20e7ff3254e547c9df4da768fa804bc89b64 Mon Sep 17 00:00:00 2001 From: Kermit Date: Mon, 31 Aug 2020 22:25:48 +0800 Subject: [PATCH 6/7] chore: update ci --- .travis.yml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 908a1a89..e14cadeb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,13 +9,6 @@ notifications: node_js: - 12 -before_install: -- | - if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/' - then - echo "Only docs were updated, stopping build process." - exit - fi script: - | if [ "$TEST_TYPE" = test ]; then From e8d5a048175d24f507e8f56057aee7b2d9afaf13 Mon Sep 17 00:00:00 2001 From: Kermit Date: Mon, 31 Aug 2020 22:27:34 +0800 Subject: [PATCH 7/7] chore: update ci --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index e14cadeb..908a1a89 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,6 +9,13 @@ notifications: node_js: - 12 +before_install: +- | + if ! git diff --name-only $TRAVIS_COMMIT_RANGE | grep -qvE '(\.md$)|(^(docs|examples))/' + then + echo "Only docs were updated, stopping build process." + exit + fi script: - | if [ "$TEST_TYPE" = test ]; then