Skip to content

Commit a6126ba

Browse files
committed
chore: add ci and badge
1 parent ebdb92f commit a6126ba

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.travis.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
language: go
2+
3+
go:
4+
- 1.9.x
5+
- 1.10.x
6+
- 1.11.x
7+
8+
before_install:
9+
- go get -t -v ./...
10+
11+
script:
12+
- go test -coverprofile=coverage.txt -covermode=atomic
13+
14+
after_success:
15+
- bash <(curl -s https://codecov.io/bash)

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@
22

33
Buffalo middleware to automatically generate RESTful API documentation with Swagger 2.0.
44

5-
<!--[![Travis branch](https://img.shields.io/travis/swaggo/echo-swagger/master.svg)](https://travis-ci.org/swaggo/echo-swagger)-->
6-
<!--[![Codecov branch](https://img.shields.io/codecov/c/github/swaggo/echo-swagger/master.svg)](https://codecov.io/gh/swaggo/echo-swagger)-->
7-
<!--[![Go Report Card](https://goreportcard.com/badge/github.com/swaggo/echo-swagger)](https://goreportcard.com/report/github.com/swaggo/echo-swagger)-->
5+
[![Travis branch](https://img.shields.io/travis/swaggo/buffalo-swagger/master.svg)](https://travis-ci.org/swaggo/buffalo-swagger)
6+
[![Codecov branch](https://img.shields.io/codecov/c/github/swaggo/buffalo-swagger/master.svg)](https://codecov.io/gh/swaggo/buffalo-swagger)
7+
[![Go Report Card](https://goreportcard.com/badge/github.com/swaggo/buffalo-swagger)](https://goreportcard.com/report/github.com/swaggo/buffalo-swagger)
8+
[![GoDoc](https://godoc.org/github.com/swaggo/buffalo-swagger?status.svg)](https://godoc.org/github.com/swaggo/buffalo-swagger)
89

910

1011
## Usage

0 commit comments

Comments
 (0)