aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlyric <tiannianshou@gmail.com>2018-05-17 06:30:15 +0300
committerlyric <tiannianshou@gmail.com>2018-05-17 06:30:15 +0300
commit898db00a63f20ce213198117ce6b663c293c93c3 (patch)
tree51896a9b5e5b00b9075e271e47c555d7a428becf
parent7c7e18faddc54ea614f135fcef8bc05649fa9452 (diff)
add travis buildv2.0.0
-rw-r--r--.travis.yml9
-rw-r--r--README.md6
2 files changed, 14 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..fa89548
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,9 @@
+language: go
+sudo: false
+go_import_path: github.com/go-session/echo-session
+go:
+ - 1.9
+before_install:
+ - go get github.com/mattn/goveralls
+script:
+ - $HOME/gopath/bin/goveralls -service=travis-ci
diff --git a/README.md b/README.md
index 28c2235..3b46d4d 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# Session middleware for [Echo](https://github.com/labstack/echo)
-[![ReportCard][reportcard-image]][reportcard-url] [![GoDoc][godoc-image]][godoc-url] [![License][license-image]][license-url]
+[![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]
## Quick Start
@@ -73,6 +73,10 @@ $ ./server
Copyright (c) 2018 Lyric
+[Build-Status-Url]: https://travis-ci.org/go-session/echo-session
+[Build-Status-Image]: https://travis-ci.org/go-session/echo-session.svg?branch=master
+[Coverage-Url]: https://coveralls.io/github/go-session/echo-session?branch=master
+[Coverage-Image]: https://coveralls.io/repos/github/go-session/echo-session/badge.svg?branch=master
[reportcard-url]: https://goreportcard.com/report/github.com/go-session/echo-session
[reportcard-image]: https://goreportcard.com/badge/github.com/go-session/echo-session
[godoc-url]: https://godoc.org/github.com/go-session/echo-session