Skip to content

Commit

Permalink
Merge pull request FullHuman#63 from FullHuman/circleci-config
Browse files Browse the repository at this point in the history
circleci config: coverage on master branch
  • Loading branch information
Ffloriel authored Mar 11, 2018
2 parents 148e2db + 4e12e86 commit 3d10f0a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,7 @@ jobs:
command: npm test -- --coverage
- run:
name: coverage
command: cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -p .
command: |
if [ "${CIRCLE_BRANCH}" == "master" ]; then
cat ./coverage/lcov.info | node_modules/.bin/codacy-coverage -p .
fi

0 comments on commit 3d10f0a

Please sign in to comment.