From 943b7af3371cd810b3ff97cbaf3a77d7d98a2d11 Mon Sep 17 00:00:00 2001 From: stormcat24 Date: Fri, 4 May 2018 17:16:22 +0900 Subject: [PATCH] add circleci --- README.md | 7 ++++++- circle.yml | 11 +++++++++++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 circle.yml diff --git a/README.md b/README.md index b1f27de..895704c 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ # goperiscope -goperiscope is golang client for Periscope Producer API. \ No newline at end of file +[![Circle CI](https://circleci.com/gh/openfresh/goperiscope.svg?style=shield&circle-token=442c0236cbd0d7728a339c3cd763ee1106e362fe)](https://circleci.com/gh/openfresh/goperiscope) +[![Language](https://img.shields.io/badge/language-go-brightgreen.svg?style=flat)](https://golang.org/) +[![issues](https://img.shields.io/github/issues/openfresh/goperiscope.svg?style=flat)](https://github.com/openfresh/goperiscope/issues?state=open) +[![License: MIT](https://img.shields.io/badge/license-MIT-orange.svg)](LICENSE) + +goperiscope is golang client for Periscope Producer API. diff --git a/circle.yml b/circle.yml new file mode 100644 index 0000000..c26ae4c --- /dev/null +++ b/circle.yml @@ -0,0 +1,11 @@ +version: 2 +jobs: + build: + docker: + - image: circleci/golang:1.9 + working_directory: /go/src/github.com/openfresh/goperiscope + steps: + - checkout + - run: go get -u github.com/golang/dep/... + - run: dep ensure + - run: go test -v ./...