build: split other OS build into a separate builder

This is in order to make longest build (the Linux build) quicker
This commit is contained in:
Nick Craig-Wood
2019-07-03 12:07:29 +01:00
parent 9cafeeb4b6
commit 7fcbb47b1c
2 changed files with 17 additions and 14 deletions
-10
View File
@@ -167,16 +167,6 @@ ifndef BRANCH_PATH
endif
@echo Beta release ready at $(BETA_URL)/testbuilds
BUILD_FLAGS := -exclude "^(windows|darwin)/"
ifeq ($(TRAVIS_OS_NAME),osx)
BUILD_FLAGS := -include "^darwin/" -cgo
endif
ifeq ($(TRAVIS_OS_NAME),windows)
# BUILD_FLAGS := -include "^windows/" -cgo
# 386 doesn't build yet
BUILD_FLAGS := -include "^windows/amd64" -cgo
endif
travis_beta:
ifeq ($(TRAVIS_OS_NAME),linux)
go run bin/get-github-release.go -extract nfpm goreleaser/nfpm 'nfpm_.*\.tar.gz'