mirror of
https://github.com/MedzikUser/go-github-selfupdate.git
synced 2024-08-15 03:25:29 +00:00
run CI on Travis CI
This commit is contained in:
parent
0cce7553af
commit
0d267357c7
1 changed files with 14 additions and 0 deletions
14
.travis.yml
Normal file
14
.travis.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
language: go
|
||||||
|
os:
|
||||||
|
- linux
|
||||||
|
- osx
|
||||||
|
install:
|
||||||
|
- go get -t -d -v ./...
|
||||||
|
- go version
|
||||||
|
- go env
|
||||||
|
script:
|
||||||
|
- go build ./selfupdate/
|
||||||
|
- go build ./cmd/selfupdate-example/
|
||||||
|
- go test -v -race -coverprofile=coverage.txt ./selfupdate
|
||||||
|
after_success:
|
||||||
|
- bash <(curl -s https://codecov.io/bash)
|
Loading…
Reference in a new issue