-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 1.57 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: go
go:
- 1.11.2
install: true
notifications:
email: false
before_script:
- GO_FILES=$(find . -iname '*.go' -type f | grep -v /vendor/)
- go get github.com/golang/lint/golint
- go get github.com/apprentice3d/forge-api-go-client
script:
#- test -z $(gofmt -s -l $GO_FILES)
- go vet ./...
- golint -set_exit_status $(go list ./...)
- env GOOS=linux GOARCH=amd64 go build -v -o ./bin/linux/recap_cli
- env GOOS=windows GOARCH=amd64 go build -v -o ./bin/windows/recap_cli.exe
- env GOOS=darwin GOARCH=amd64 go build -v -o ./bin/osx/recap_cli
- cd ./bin/linux && zip -r linux.zip .
- cd ../../bin/windows && zip -r windows.zip .
- cd ../../bin/osx && zip -r osx.zip .
- cd ../..
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: pTLhVYflSJUudFjKhedLqRUdHjrzUmutViJ+w9oDXUdhqt3Ph2tJTNKEiIdARi7sRYjUnvL2fXE9XwskaLlGI7T/r1ctlR73dD80jFwN6g0o++XT9klqaF4Mu33OVthcsgkkONeUJ6ovJJ9nYx8IeM6PbFr+AT4qFZt6/6g8L8GWL80oX+DouFqirLMRxnghZ2xQCCB4mYBLj75kx/zcMhMYiU05ZFBGyJivbr4CMF2OAF4khbrwVmZ9c43x2uMhX+/aTOCj1w5It8LBQUy6h9ynvqU0I6Mrd7lmOMExmvbPv0vs7x02CkZoOhzxxRxOzghNEJVBHSihlx+d1CyyM8LGDU7P1BCMDXNi4DqqV+61bp1vqxdBxqDrW9igFrhMAMsb7lSZ7gGhrUIxVUr9JzerbCTZXj3jFlqK5Vn/get2ZYkoQ/QQQFo3ODBo89iGY3VU+f+nkr7lNWz46p+kokgFgf5oR7Zn/miLqebSqdIksvvzkFQMYF1rVUJjhD5OSj8BXqEOa0mhxHPJR1ZhHCvWZXnp83bI2L29OdMfci7U61pcrsiTQM8UUg+Sq19AOsA+ZG6VVJG8Ho1FXRm1OI4emKB3gYa4AVChB6SWNBVCw2xQwqvY9N0M6yo0SyQb6zZYP9OTeWIfwT0di1Nu1RNLxYhKIDx76ZMLV6b7xLs=
file:
- ./bin/linux/linux.zip
- ./bin/windows/windows.zip
- ./bin/osx/osx.zip
on:
tags: true
repo: apprentice3d/reality.capture-go-cli.sample