go-github-selfupdate/.travis.yml

18 lines
450 B
YAML
Raw Normal View History

2017-12-30 04:32:46 +00:00
language: go
os:
- linux
- osx
install:
- go get -t -d -v ./...
2018-03-21 20:13:18 +00:00
- cd $GOPATH/src/github.com/google/go-github && git reset --hard 08e68b5 && cd -
2017-12-30 04:32:46 +00:00
- go version
- go env
script:
- go build ./selfupdate/
- go build ./cmd/selfupdate-example/
2017-12-30 07:14:06 +00:00
- go build ./cmd/detect-latest-release/
- go build ./cmd/go-get-release/
2017-12-30 04:32:46 +00:00
- go test -v -race -coverprofile=coverage.txt ./selfupdate
after_success:
- bash <(curl -s https://codecov.io/bash)