Browse Source

add travis.yml

Tao Wen 8 years ago
parent
commit
2dfdcdd9db
1 changed files with 14 additions and 0 deletions
  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)