Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Codacy #3

Merged
merged 2 commits into from
Feb 17, 2018
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
2 changes: 2 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ jobs:
- checkout
- run: make test
- run: go get github.com/mattn/goveralls
- run: go get github.com/schrej/godacov
- run: goveralls -coverprofile=coverage/cover.out -service=circle-ci
- run: godacov -t $CODACY_PROJECT_TOKEN -r ./coverage/cover.out -c $CIRCLE_SHA1
- store_artifacts:
path: coverage
destination: coverage
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.9.4-alpine3.7
MAINTAINER Atsushi Nagase<a@ngs.io>

ADD . /go/src/github.com/ngs/ts-dakoku
COPY . /go/src/github.com/ngs/ts-dakoku
RUN go install github.com/ngs/ts-dakoku

ENTRYPOINT ["/go/bin/ts-dakoku"]
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ Slack のコマンドで TeamSpirit の打刻をします
[![Docker Automated build](https://img.shields.io/docker/automated/atsnngs/ts-dakoku.svg?maxAge=2592000)](https://hub.docker.com/r/atsnngs/ts-dakoku/)
[![CircleCI](https://circleci.com/gh/ngs/ts-dakoku.svg?style=svg&circle-token=9c154b7114e81b3ed97b85121e98c7ee5a9ad23c)](https://circleci.com/gh/ngs/ts-dakoku)
[![Coverage Status](https://coveralls.io/repos/github/ngs/ts-dakoku/badge.svg?branch=master)](https://coveralls.io/github/ngs/ts-dakoku?branch=master)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/659d166203e84a3eaafd821f9766af77)](https://www.codacy.com/app/ngs/ts-dakoku?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=ngs/ts-dakoku&amp;utm_campaign=Badge_Grade)

導入手順
-------
Expand Down