File tree Expand file tree Collapse file tree 2 files changed +23
-14
lines changed
Expand file tree Collapse file tree 2 files changed +23
-14
lines changed Original file line number Diff line number Diff line change 1+ build :
2+ main : cmd/filemanager/main.go
3+ binary : filemanager
4+ goos :
5+ - darwin
6+ - linux
7+ - windows
8+ - freebsd
9+ - netbsd
10+ - openbsd
11+ goarch :
12+ - amd64
13+ - 386
14+ - arm
15+ - arm64
16+ archive :
17+ name_template : " {{.Os}}-{{.Arch}}-{{ .ProjectName }}"
18+ format : tar.gz
19+ format_overrides :
20+ - goos : windows
21+ format : zip
Original file line number Diff line number Diff line change 1414
1515install :
1616 - go get ./...
17- - go get github.com/mitchellh/gox
1817 # Install gometalinter and certain linters
1918 - go get github.com/alecthomas/gometalinter
2019 - go get github.com/client9/misspell/cmd/misspell
@@ -26,16 +25,5 @@ script:
2625 - gometalinter --disable-all -E vet -E gofmt -E misspell -E ineffassign -E goimports -E deadcode --exclude="rice-box.go" --tests ./...
2726 - go test ./... -timeout 30s
2827
29- before_deploy :
30- - cd cmd/filemanager
31- - mkdir dist
32- - gox -output "dist/{{.OS}}-{{.Arch}}-{{.Dir}}"
33-
34- deploy :
35- provider : releases
36- api_key : $GITHUB_TOKEN
37- file_glob : true
38- file : dist/*
39- skip_cleanup : true
40- on :
41- tags : true
28+ after_success :
29+ - test -n "$TRAVIS_TAG" && curl -sL https://git.io/goreleaser | bash
You can’t perform that action at this time.
0 commit comments