From d18624366f0468f5fe7a344659b3834c14b2404f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=BC=AA=E6=98=8C=E6=96=B0?= Date: Sun, 21 Feb 2021 11:23:11 +0800 Subject: [PATCH] Dropped darwin/386 builds due to deprecation in go 1.15 see upstream mitchellh/gox#146 --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f56e107..f214f6c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,7 @@ before_deploy: - go get -u github.com/mitchellh/gox - go get -u github.com/tcnksm/ghr - - gox -output "release/mt_{{.OS}}_{{.Arch}}/mt" -ldflags "-X github.com/polyrabbit/my-token/config.Rev=`git rev-parse --short HEAD` -X github.com/polyrabbit/my-token/config.Version=`git describe --tags | cut -dv -f 2` -X 'github.com/polyrabbit/my-token/config.exampleConfig=`cat my_token.example.yaml`'" -verbose + - gox -output "release/mt_{{.OS}}_{{.Arch}}/mt" -osarch '!darwin/386' -ldflags "-X github.com/polyrabbit/my-token/config.Rev=`git rev-parse --short HEAD` -X github.com/polyrabbit/my-token/config.Version=`git describe --tags | cut -dv -f 2` -X 'github.com/polyrabbit/my-token/config.exampleConfig=`cat my_token.example.yaml`'" -verbose - mkdir -p dist - for f in release/*; do if [[ -d "$f" ]]; then