-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (29 loc) · 1.41 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
34
35
36
sudo: false
language: go
go_import_path: github.com/derekbekoe/convey
go:
- 1.11.x
os:
- linux
- osx
- windows
before_install:
- go get github.com/mitchellh/gox
script:
- go test -v ./...
- mkdir bin
- GOX_OS_NAME=$TRAVIS_OS_NAME
- if [[ "$GOX_OS_NAME" == "osx" ]]; then GOX_OS_NAME="darwin"; fi
- gox -ldflags "-X github.com/derekbekoe/convey/cmd.VersionGitCommit=$TRAVIS_COMMIT -X github.com/derekbekoe/convey/cmd.VersionGitTag=$TRAVIS_TAG" -os="$GOX_OS_NAME" -arch="amd64" -output="bin/{{.Dir}}_{{.OS}}_{{.Arch}}"
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: eIvDPtgI3JxtqsIPZ71nLb99CJyolcVRhKQtF+CWdzwJalhFsa2JwvmCZ3rM+f1I8t5vjDnULjCa8Xqdp3eiXPv9uR/VUiiQMj+UtrQTMzi2rAZujV5ZEfG871TaSvpALjmP1oqDzG6l94322sUV2CFgqXIDXgLEezmGaXW0SgOvdJc3+rfTinN4J/lEtCzinuQzXtbNJBO3MzYQLqOCJxK54zLNkGid+9HirseF5Ebe/t0XBUX+TCP3+dsy6tQMpQYQdo6b7EwDrknIgfof4KhAfCQFVlGRF/mrxxAZH4Dc0oQl7p9FxjCi/rDTzwTtKe3Ag6zc4a6Yw/FkFjMWeIHBuJN6McDY5br2KQD+FYnvIE2wuITRPIn8K5VzdkIBLEJ9LGPZ/KVlMLDkhvss9iRZOp8VALniAjPy9QJ1Dzpb4EGIAYmK2ZoYI8fi+jr6GiBbkrb7g/ggocJDURH86NVOwMdayTDzwlLPVizhTC7kxXX2kLnjQlbSGJdffLlpG1xbG/eLkwqU/NbiA5OKQDGA1+a3GKR1+aJxH35HF1JOtdaJgF8nq4sqNz4Zr6IB1E8j/n4dqixUjM1PF/th4Q04CdyBQ2k6Wu6Xwl/XTuCxZLdCqAwFiHQMtacah8bWRnzso8XKZLN3qKoGN6ia/ybpxaxanQGiTsE/V2vkA5Q=
file:
- bin/convey_windows_amd64.exe
- bin/convey_darwin_amd64
- bin/convey_linux_amd64
on:
repo: derekbekoe/convey
tags: true