2019-04-30 20:14:21 +03:00
|
|
|
language: go
|
|
|
|
|
|
|
|
go:
|
|
|
|
- tip
|
|
|
|
|
|
|
|
env:
|
|
|
|
- "PATH=/home/travis/gopath/bin:$PATH"
|
|
|
|
|
|
|
|
install: true
|
|
|
|
|
|
|
|
script:
|
|
|
|
- env GO111MODULE=on go build -v
|
|
|
|
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v6/src/compress
|
|
|
|
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v6/src/croc
|
|
|
|
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v6/src/crypt
|
|
|
|
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v6/src/tcp
|
|
|
|
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v6/src/utils
|
|
|
|
- env GO111MODULE=on go test -v -cover github.com/schollz/croc/v6/src/comm
|
|
|
|
|
2019-05-10 16:11:14 +03:00
|
|
|
deploy:
|
|
|
|
- provider: script
|
2019-05-12 20:22:53 +03:00
|
|
|
skip_cleanup: true
|
2019-05-10 16:11:14 +03:00
|
|
|
script: curl -sL https://git.io/goreleaser | bash
|
|
|
|
on:
|
|
|
|
tags: true
|
2019-05-12 18:24:06 +03:00
|
|
|
condition: $TRAVIS_OS_NAME = linux
|