Skip to content

Commit 4009276

Browse files
Merge pull request #315 from silvolu/fix-coveralls-build
Run coveralls on merge to master
2 parents 23c0d59 + a353c1c commit 4009276

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/build.sh

+3-2
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,11 @@ set -ev
1919
npm run lint
2020
npm run test
2121

22-
# if merging to master and not a pull request, execute regression tests and update docs
22+
# if merging to master and not a pull request, execute regression tests, create coverage report and update docs
2323
if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
2424
openssl aes-256-cbc -K $encrypted_b8aa0887832a_key -iv $encrypted_b8aa0887832a_iv -in key.json.enc -out key.json -d
25-
npm run regression-test
25+
# create new coverage report (executes regression tests)
26+
npm run coveralls
2627

2728
# generate new set of json files in docs/json/master
2829
npm run docs

0 commit comments

Comments
 (0)