Explorar o código

add travis.yml

Tao Wen %!s(int64=8) %!d(string=hai) anos
pai
achega
2dfdcdd9db
Modificáronse 1 ficheiros con 14 adicións e 0 borrados
  1. 14 0
      .travis.yml

+ 14 - 0
.travis.yml

@@ -0,0 +1,14 @@
+language: go
+
+go:
+  - 1.8.x
+  - tip
+
+before_install:
+  - go get -t -v ./...
+
+script:
+  - go test -race -coverprofile=coverage.txt -covermode=atomic
+
+after_success:
+  - bash <(curl -s https://codecov.io/bash)