Skip to content

Commit

Permalink
Run coveralls on merge to master
Browse files Browse the repository at this point in the history
  • Loading branch information
silvolu committed Dec 1, 2014
1 parent c126027 commit a353c1c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a353c1c

Please sign in to comment.