diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6a741bc --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +os: + - linux + +language: go + +go: + - 1.7 + +install: + - go get -u github.com/whyrusleeping/gx + - go get -u github.com/whyrusleeping/gx-go + - gx install + + +script: + - gx-go rewrite + - go test -race -coverprofile=unittest.coverprofile -covermode=atomic ./... + + +after_success: + - bash <(curl -s https://codecov.io/bash) -f unittest.coverprofile -F unittest + +cache: + directories: + - $GOPATH/src/gx