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

Commit 50324c8

Browse files
committed
edit travis-ci script section
1 parent 7f5b365 commit 50324c8

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.travis.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,15 @@
11
language: go
22
go:
3-
- 1.4.2
4-
script: go test
3+
- 1.4.2
4+
script:
5+
- go test -v ./...
56
before_deploy:
6-
- go get github.com/mitchellh/gox
7-
- gox -osarch="darwin/amd64" -osarch="linux/arm" -osarch="linux/386" -osarch="windows/386"
8-
-build-toolchain
9-
- gox -osarch="darwin/amd64" -osarch="linux/arm" -osarch="linux/386" -osarch="windows/386"
10-
-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
7+
- go get github.com/mitchellh/gox
8+
- gox -osarch="darwin/amd64" -osarch="linux/arm" -osarch="linux/386" -osarch="windows/386" -build-toolchain
9+
- gox -osarch="darwin/amd64" -osarch="linux/arm" -osarch="linux/386" -osarch="windows/386" -output="parse_{{.OS}}_{{.Arch}}"
10+
- mv parse_darwin_amd64 parse
11+
- mv parse_windows_386.exe parse.exe
12+
- mv parse_linux_386 parse_linux
1413
deploy:
1514
provider: releases
1615
api_key:

0 commit comments

Comments
 (0)