We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba50390 commit 95a692aCopy full SHA for 95a692a
.travis.yml
@@ -1,4 +1,5 @@
1
os: osx
2
+osx_image: xcode12.3
3
4
language: go
5
@@ -12,13 +13,15 @@ git:
12
13
14
env:
15
- TARGET_ARCH: amd64
16
+ SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX11.1.sdk
17
- TARGET_ARCH: arm64
18
19
20
install: ''
21
22
script:
23
- GIT_VERSION=$(git describe --tags)
- - GOARCH=$TARGET_ARCH GO111MODULE=on go build -o smimesign -ldflags "-X main.versionString=$GIT_VERSION" .
24
+ - CGO_ENABLED=1 GOARCH=$TARGET_ARCH GO111MODULE=on go build -o smimesign -ldflags "-X main.versionString=$GIT_VERSION" .
25
- tar czf smimesign-$GIT_VERSION-macos-$TARGET_ARCH.tgz smimesign
26
- GO111MODULE=on go test -v ./...
27
0 commit comments