From 8309fe367aa124521a3a60856fb3b885c02002d0 Mon Sep 17 00:00:00 2001 From: Matthew Mulholland Date: Thu, 21 Jun 2018 13:30:46 +1000 Subject: [PATCH] updated coveralls for travis build. --- test/unit/karma.conf.js | 1 + travis_script.sh | 3 ++- yarn.lock | 14 -------------- 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/test/unit/karma.conf.js b/test/unit/karma.conf.js index e6f9a14f5..1970f601a 100644 --- a/test/unit/karma.conf.js +++ b/test/unit/karma.conf.js @@ -52,6 +52,7 @@ module.exports = config => { preprocessors: { './index.js': ['webpack', 'sourcemap'] }, + logLevel: config.LOG_ERROR, reporters: ['spec', 'coverage', 'coveralls'], singleRun: true, webpack: webpackConfig, diff --git a/travis_script.sh b/travis_script.sh index 267b16cf3..af900572b 100755 --- a/travis_script.sh +++ b/travis_script.sh @@ -1,7 +1,8 @@ #!/bin/bash set -ev if [ "${TRAVIS_BRANCH}" = "ci" ]; then - yarn run unit && yarn run unit:coverage + yarn run unit + yarn run unit:coverage else yarn run release:predraft fi diff --git a/yarn.lock b/yarn.lock index 9165237b9..dad8dca8f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8617,12 +8617,6 @@ readdirp@^2.0.0: readable-stream "^2.0.2" set-immediate-shim "^1.0.1" -readme-badger@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/readme-badger/-/readme-badger-0.3.0.tgz#87007f3c3e0c445e545134a305d8e3068fe9cd6e" - dependencies: - balanced-match "^1.0.0" - recast@~0.11.12: version "0.11.23" resolved "https://registry.yarnpkg.com/recast/-/recast-0.11.23.tgz#451fd3004ab1e4df9b4e4b66376b2a21912462d3" @@ -8810,14 +8804,6 @@ replace-ext@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-1.0.0.tgz#de63128373fcbf7c3ccfa4de5a480c45a67958eb" -replace-in-file@^3.4.0: - version "3.4.0" - resolved "https://registry.yarnpkg.com/replace-in-file/-/replace-in-file-3.4.0.tgz#b48c94567bbf4f44a2bc6fabdf21ab443e806851" - dependencies: - chalk "^2.3.2" - glob "^7.1.2" - yargs "^11.0.0" - request@2, request@^2.45.0, request@^2.81.0: version "2.85.0" resolved "https://registry.yarnpkg.com/request/-/request-2.85.0.tgz#5a03615a47c61420b3eb99b7dba204f83603e1fa"