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