Просмотр исходного кода

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

Add travis ci
Conrad Irwin 8 лет назад
Родитель
Сommit
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