From a353c1c0800c2db6e5c5ffbaba9501e944bf88c7 Mon Sep 17 00:00:00 2001 From: Silvano Luciani Date: Mon, 1 Dec 2014 13:20:18 -0800 Subject: [PATCH] Run coveralls on merge to master --- scripts/build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/build.sh b/scripts/build.sh index ecda79a81b4..4e7f7b8d337 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -19,10 +19,11 @@ set -ev npm run lint npm run test -# if merging to master and not a pull request, execute regression tests and update docs +# if merging to master and not a pull request, execute regression tests, create coverage report and update docs if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then openssl aes-256-cbc -K $encrypted_b8aa0887832a_key -iv $encrypted_b8aa0887832a_iv -in key.json.enc -out key.json -d - npm run regression-test + # create new coverage report (executes regression tests) + npm run coveralls # generate new set of json files in docs/json/master npm run docs