From d5f258bfc4cbd029f5163fcba4902ea8241027cc Mon Sep 17 00:00:00 2001 From: Kirill Merkushev Date: Mon, 22 Jul 2019 01:28:09 +0200 Subject: [PATCH] collect coverage for ui --- .travis.yml | 3 ++- ui/package.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 050ce6cb..27358e51 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,7 +31,8 @@ install: - npm install cross-env after_success: -- bash <(curl -s https://codecov.io/bash) +- bash <(curl -s https://codecov.io/bash) -F go +- bash <(curl -s https://codecov.io/bash) -f ./ui/coverage/coverage-final.json -F ui deploy: - provider: releases diff --git a/ui/package.json b/ui/package.json index b516b663..b3dccd0e 100644 --- a/ui/package.json +++ b/ui/package.json @@ -23,7 +23,7 @@ "scripts": { "start": "react-scripts start", "build": "react-scripts build", - "test": "react-scripts test --transformIgnorePatterns 'node_modules/(?!(@novnc|highlight.js|xterm)/)'", + "test": "react-scripts test --transformIgnorePatterns 'node_modules/(?!(@novnc|highlight.js|xterm)/)' --coverage", "eject": "react-scripts eject" }, "eslintConfig": {