mirror of
https://gitee.com/IrisVega/frp.git
synced 2024-11-01 22:31:29 +08:00
34 lines
530 B
YAML
34 lines
530 B
YAML
language: go
|
|
|
|
sudo: false
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
go:
|
|
- 1.9.x
|
|
- 1.10.x
|
|
- 1.11.x
|
|
- 1.12.x
|
|
- master
|
|
|
|
install:
|
|
- go get ./...
|
|
|
|
script:
|
|
- go vet ./...
|
|
- go test -v -cpu=1,2,4 .
|
|
- go test -v -cpu=1,2,4 -short -race .
|
|
- go test -tags=noasm -v -cpu=1,2,4 -short -race .
|
|
- go build examples/simple-decoder.go
|
|
- go build examples/simple-encoder.go
|
|
- go build examples/stream-decoder.go
|
|
- go build examples/stream-encoder.go
|
|
- diff <(gofmt -d .) <("")
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- go: 'master'
|
|
fast_finish: true
|