travis: limit builds to supported os/arch list

This commit is contained in:
Jakob Schrettenbrunner
2017-08-02 23:23:13 +02:00
parent 1bbad7d24e
commit 38875bcfac
2 changed files with 3 additions and 2 deletions

View File

@@ -1,4 +1,5 @@
BINARY = "build/wings"
OSARCHLIST = "darwin/386 darwin/amd64 linux/386 linux/amd64 linux/arm linux/arm64 windows/386 windows/amd64"
all: $(BINARY)
@@ -6,7 +7,7 @@ $(BINARY):
go build -o $(BINARY)
cross-build:
gox -output "build/{{.Dir}}_{{.OS}}_{{.Arch}}"
gox -osarch $(OSARCHLIST) -output "build/{{.Dir}}_{{.OS}}_{{.Arch}}"
.PHONY: install
install: