mirror of
https://github.com/valyala/fasthttp.git
synced 2026-06-14 15:56:44 +03:00
travis: switched from gox to GOOS/GOARCH environment variables for build tests on supported platforms
This commit is contained in:
+5
-6
@@ -3,14 +3,13 @@ language: go
|
||||
go:
|
||||
- 1.6
|
||||
|
||||
before_install:
|
||||
- go get github.com/mitchellh/gox
|
||||
|
||||
script:
|
||||
# build test for supported platforms
|
||||
- gox -os="linux"
|
||||
- gox -os="darwin"
|
||||
- gox -os="freebsd"
|
||||
- GOOS=linux go build
|
||||
- GOOS=darwin go build
|
||||
- GOOS=freebsd go build
|
||||
- GOOS=windows go build
|
||||
- GOARCH=386 go build
|
||||
|
||||
# run tests on a standard platform
|
||||
- go test -v ./...
|
||||
|
||||
Reference in New Issue
Block a user