Skip to content
This repository was archived by the owner on Jan 16, 2021. It is now read-only.

Commit 94f8e34

Browse files
committed
use go 1.5.3 to cross compile instead of gox
1 parent f684162 commit 94f8e34

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.travis.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ script:
55
- go test -v ./...
66
before_deploy:
77
- go get github.com/inconshreveable/mousetrap # temporary fix for travis build breaks for windows due to cobra dependency on mousetrap
8-
- go get github.com/mitchellh/gox
9-
- gox -osarch="darwin/amd64" -osarch="linux/arm" -osarch="linux/386" -osarch="windows/386" -build-toolchain
10-
- gox -osarch="darwin/amd64" -osarch="linux/arm" -osarch="linux/386" -osarch="windows/386" -output="parse_{{.OS}}_{{.Arch}}"
11-
- mv parse_darwin_amd64 parse
12-
- mv parse_windows_386.exe parse.exe
13-
- mv parse_linux_386 parse_linux
8+
- GOOS=darwin GOARCH=amd64 go build -v github.com/ParsePlatform/parse-cli -o parse
9+
- GOOS=windows GOARCH=386 go build -v github.com/ParsePlatform/parse-cli -o parse.exe
10+
- GOOS=linux GOARCH=386 go build -v github.com/ParsePlatform/parse-cli -o parse_linux
11+
- GOOS=linux GOARCH=arm go build -v github.com/ParsePlatform/parse-cli -o parse_linux_arm
1412
deploy:
1513
provider: releases
1614
api_key:

0 commit comments

Comments
 (0)