20 lines
336 B
YAML
20 lines
336 B
YAML
|
version: "{build}"
|
||
|
|
||
|
branches:
|
||
|
only:
|
||
|
- master
|
||
|
|
||
|
environment:
|
||
|
GOPATH: c:\gopath
|
||
|
|
||
|
install:
|
||
|
- set PATH=%GOPATH%\bin;c:\go\bin;%PATH%
|
||
|
- mkdir c:\gopath
|
||
|
- go get github.com/mikioh/tcp
|
||
|
- go get github.com/mikioh/tcpopt
|
||
|
- go get github.com/mikioh/tcpinfo
|
||
|
- go get golang.org/x/net/nettest
|
||
|
|
||
|
build_script:
|
||
|
- go test -v -race
|