Skip to content

Commit 9fbfc60

Browse files
committed
switch to circle ci
1 parent 88d4ecb commit 9fbfc60

File tree

3 files changed

+6
-16
lines changed

3 files changed

+6
-16
lines changed

.circleci/config.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Check https://circleci.com/docs/2.0/language-go/ for more details
44
version: 2
55
jobs:
6-
build:
6+
test:
77
docker:
88
# specify the version
99
- image: circleci/golang:1.9
@@ -17,5 +17,8 @@ jobs:
1717
- checkout
1818

1919
# specify any bash command here prefixed with `run: `
20-
- run: go get -v -t -d ./...
20+
- run: go get github.com/axw/gocov/gocov
21+
- run: go get github.com/mattn/goveralls
22+
- run: go get golang.org/x/tools/cmd/cover
23+
- run: $HOME/gopath/bin/goveralls -service=travis-ci
2124
- run: go test -v ./...

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Structs [![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/jcarter3/structs) [![Build Status](http://img.shields.io/travis/jcarter3/structs.svg?style=flat-square)](https://travis-ci.org/jcarter3/structs) [![Coverage Status](http://img.shields.io/coveralls/jcarter3/structs.svg?style=flat-square)](https://coveralls.io/r/jcarter3/structs)
1+
# Structs [![GoDoc](http://img.shields.io/badge/go-documentation-blue.svg?style=flat-square)](http://godoc.org/github.com/jcarter3/structs) [![Build Status](http://img.shields.io/travis/jcarter3/structs.svg?style=flat-square)](https://travis-ci.org/jcarter3/structs) [![Coverage Status](https://coveralls.io/repos/github/jcarter3/structs/badge.svg?branch=master)](https://coveralls.io/github/jcarter3/structs?branch=master)
22

33
Structs contains various utilities to work with Go (Golang) structs. It was
44
initially used by me to convert a struct into a `map[string]interface{}`. With

0 commit comments

Comments
 (0)