Skip to content

Commit

Permalink
builds: add FreeBSD build
Browse files Browse the repository at this point in the history
  • Loading branch information
mdlayher committed Mar 26, 2019
1 parent ca75a07 commit 59ac3d1
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .builds/freebsd.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
image: freebsd/latest
packages:
- go
sources:
- https://github.com/mdlayher/vsock
environment:
GO111MODULE: "on"
tasks:
- build: |
go version
go get golang.org/x/lint/golint
go get honnef.co/go/tools/cmd/staticcheck
cd vsock/
/home/build/go/bin/staticcheck ./...
/home/build/go/bin/golint -set_exit_status ./...
# Make sure vsock non-Linux stubs are functional.
go test -v -race ./...

0 comments on commit 59ac3d1

Please sign in to comment.