Prepare to automated test.

This commit is contained in:
Naoki Kosaka
2018-11-08 00:57:15 +09:00
parent 3b4e33ece0
commit 934c7089f9
3 changed files with 56 additions and 0 deletions

21
.circleci/config.yml Normal file
View File

@ -0,0 +1,21 @@
version: 2
jobs:
test:
working_directory: /go/src/github.com/yukimochi/Activity-Relay
docker:
- image: circleci/golang
steps:
- checkout
- run:
name: build
command: |
go get -u github.com/golang/dep/cmd/dep
dep ensure
go test -coverprofile=coverage.txt . ./worker ./cli
bash <(curl -s https://codecov.io/bash)
workflows:
version: 2
build:
jobs:
- test