From 0e0339c87dd1011aa386e30a98161843763ff276 Mon Sep 17 00:00:00 2001 From: Julian Kornberger <jk+github@digineo.de> Date: Fri, 28 Dec 2018 21:30:41 +0100 Subject: [PATCH] Move to Circle CI --- .circleci/config.yml | 20 ++++++++++++++++++++ README.md | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 00000000..97bc7434 --- /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 0254191f..97ebba7a 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) -- GitLab