Skip to content

Commit 898db00

Browse files
committed
add travis build
1 parent 7c7e18f commit 898db00

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: go
2+
sudo: false
3+
go_import_path: github.com/go-session/echo-session
4+
go:
5+
- 1.9
6+
before_install:
7+
- go get github.com/mattn/goveralls
8+
script:
9+
- $HOME/gopath/bin/goveralls -service=travis-ci

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Session middleware for [Echo](https://github.com/labstack/echo)
22

3-
[![ReportCard][reportcard-image]][reportcard-url] [![GoDoc][godoc-image]][godoc-url] [![License][license-image]][license-url]
3+
[![Build][Build-Status-Image]][Build-Status-Url] [![Coverage][Coverage-Image]][Coverage-Url] [![ReportCard][reportcard-image]][reportcard-url] [![GoDoc][godoc-image]][godoc-url] [![License][license-image]][license-url]
44

55
## Quick Start
66

@@ -73,6 +73,10 @@ $ ./server
7373

7474
Copyright (c) 2018 Lyric
7575

76+
[Build-Status-Url]: https://travis-ci.org/go-session/echo-session
77+
[Build-Status-Image]: https://travis-ci.org/go-session/echo-session.svg?branch=master
78+
[Coverage-Url]: https://coveralls.io/github/go-session/echo-session?branch=master
79+
[Coverage-Image]: https://coveralls.io/repos/github/go-session/echo-session/badge.svg?branch=master
7680
[reportcard-url]: https://goreportcard.com/report/github.com/go-session/echo-session
7781
[reportcard-image]: https://goreportcard.com/badge/github.com/go-session/echo-session
7882
[godoc-url]: https://godoc.org/github.com/go-session/echo-session

0 commit comments

Comments
 (0)