diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000000000000000000000000000000000000..97bc74341377da4b407b7d83f4cd3923d6219c5c --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,20 @@ +# Golang CircleCI 2.0 configuration file +# +# Check https://circleci.com/docs/2.0/language-go/ for more details +version: 2 +jobs: + build: + docker: + # specify the version + - image: circleci/golang:1.11 + + working_directory: /go/src/github.com/bio-routing/bio-rd + steps: + - checkout + - run: curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh + - run: dep ensure -v + + - run: go get github.com/mattn/goveralls + - run: go test -v -cover -coverprofile=coverage.out ./... + - run: goveralls -coverprofile=coverage.out -service=circle-ci -repotoken=$COVERALLS_TOKEN + - run: go install github.com/bio-routing/bio-rd diff --git a/README.md b/README.md index 0254191f9601b7c9cbc863a5fc906ff2c749c28a..97ebba7a3c5f05e8ff121332071c24dd2baaca4f 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ A re-implementation of BGP, IS-IS and OSPF in go. We value respect and robustness! -[](https://travis-ci.org/bio-routing/bio-rd) +[](https://circleci.com/gh/bio-routing/bio-rd/tree/master) [](https://coveralls.io/github/bio-routing/bio-rd?branch=master) [](http://goreportcard.com/report/bio-routing/bio-rd) [](https://godoc.org/github.com/bio-routing/bio-rd)