Skip to content

Commit d3bb146

Browse files
committed
build once in ci
1 parent a5302f3 commit d3bb146

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.travis.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,7 @@ before_install:
1212
install:
1313
make vendor
1414

15-
script: true
16-
17-
# redundant
18-
#script:
19-
#- make build
20-
#- make darwin
21-
#- make freebsd
22-
23-
before_deploy:
15+
script:
2416
- mkdir -p bin_release
2517
- CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -ldflags "-extldflags '-static' -X main.AppVersion=$TRAVIS_TAG" -o bin_release/freenas-iscsi-provisioner_linux-amd64
2618
- CGO_ENABLED=0 GOOS=darwin GOARCH=amd64 go build -a -ldflags "-extldflags '-static' -X main.AppVersion=$TRAVIS_TAG" -o bin_release/freenas-iscsi-provisioner_darwin-amd64

0 commit comments

Comments
 (0)