Skip to content

Commit

Permalink
add codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
shufankang committed Apr 13, 2019
1 parent 3f7bb5e commit b2686b3
Show file tree
Hide file tree
Showing 4 changed files with 216 additions and 117 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,9 @@ node_js:
script:
- npm run test:prod && npm run build
after_success:
- npm run travis-deploy-once "npm run report-coverage"
- npm run travis-deploy-once
- npm run report-coverage
- npm run test-with-coverage
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run deploy-docs"; fi
- if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run semantic-release"; fi
branches:
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# HappyHourCore

[![Codacy Badge](https://api.codacy.com/project/badge/Grade/83a4580353a74865b60e67954b2537c2)](https://app.codacy.com/app/skang7/happy-hour-core?utm_source=github.com&utm_medium=referral&utm_content=VividKnife/happy-hour-core&utm_campaign=Badge_Grade_Dashboard)
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/a642c1c41369458fa91420c38bf5232e)](https://www.codacy.com/app/skang7/happy-hour-core?utm_source=github.com&utm_medium=referral&utm_content=VividKnife/happy-hour-core&utm_campaign=Badge_Coverage)
[![Build Status](https://travis-ci.org/VividKnife/happy-hour-core.svg?branch=master)](https://travis-ci.org/VividKnife/happy-hour-core)
[![Coverage Status](https://coveralls.io/repos/github/VividKnife/happy-hour-core/badge.svg?branch=master)](https://coveralls.io/github/VividKnife/happy-hour-core?branch=master)
[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier) [![Greenkeeper badge](https://badges.greenkeeper.io/VividKnife/happy-hour-core.svg)](https://greenkeeper.io/)
Expand Down
Loading

0 comments on commit b2686b3

Please sign in to comment.