浏览代码

Merge pull request #18 from gabrielf/add-travis-ci

Add travis ci
Conrad Irwin 7 年之前
父节点
当前提交
a6af135bd4
共有 2 个文件被更改,包括 12 次插入2 次删除
  1. 5 0
      .travis.yml
  2. 7 2
      README.md

+ 5 - 0
.travis.yml

@@ -0,0 +1,5 @@
+language: go
+
+go:
+  - "1.8.x"
+  - "1.10.x"

+ 7 - 2
README.md

@@ -1,3 +1,8 @@
+go-errors/errors
+================
+
+[![Build Status](https://travis-ci.org/go-errors/errors.svg?branch=master)](https://travis-ci.org/go-errors/errors)
+
 Package errors adds stacktrace support to errors in go.
 Package errors adds stacktrace support to errors in go.
 
 
 This is particularly useful when you want to understand the state of execution
 This is particularly useful when you want to understand the state of execution
@@ -8,7 +13,7 @@ interface, so you can use this library interchangably with code that is
 expecting a normal error return.
 expecting a normal error return.
 
 
 Usage
 Usage
-=====
+-----
 
 
 Full documentation is available on
 Full documentation is available on
 [godoc](https://godoc.org/github.com/go-errors/errors), but here's a simple
 [godoc](https://godoc.org/github.com/go-errors/errors), but here's a simple
@@ -50,7 +55,7 @@ func main() {
 ```
 ```
 
 
 Meta-fu
 Meta-fu
-=======
+-------
 
 
 This package was original written to allow reporting to
 This package was original written to allow reporting to
 [Bugsnag](https://bugsnag.com/) from
 [Bugsnag](https://bugsnag.com/) from