Skip to content
This repository was archived by the owner on Oct 1, 2018. It is now read-only.

chore(travis): update build coverage config #60

Merged
merged 2 commits into from
Oct 23, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ before_install:
script:
- if [ -n "DANGER_GITHUB_API_TOKEN" ]; then echo {} > ./.babelrc && npx danger; fi
- ng lint
- ng test --single-run
- ng build -prod
- ng test --single-run --code-coverage
- ng build --prod
- ng e2e

before_deploy:
Expand All @@ -37,4 +37,7 @@ before_deploy:
deploy:
provider: azure_web_apps
verbose: true
skip_cleanup: true
skip_cleanup: true

after_success:
- bash <(curl -s https://codecov.io/bash)
2 changes: 1 addition & 1 deletion dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ const messageConventionValid = danger.git.commits.reduce(function (acc, value) {
}, true);

if (!messageConventionValid) {
warn('commit message does not follows conventional change log (' + ++errorCount + ')');
fail('commit message does not follows conventional change log (' + ++errorCount + ')');
markdown('> (' + errorCount + ') : RxJS uses conventional change log to generate changelog automatically. It seems some of commit messages are not following those, please check [contributing guideline](https://github.com/ReactiveX/rxjs/blob/master/CONTRIBUTING.md#commit-message-format) and update commit messages.');
}