-
Notifications
You must be signed in to change notification settings - Fork 58
/
.travis.yml
34 lines (34 loc) · 1.38 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
language: go
go:
- 1.15.x
install: true
os:
- linux
dist:
- xenial
env:
global:
- GOARCH=amd64
- GO_FOR_RELEASE=1.15
- GO111MODULE=on
before_install:
- go get github.com/mitchellh/gox
script:
- go mod download -x
- gox -os="linux darwin windows" -arch="amd64" -verbose
- gox -os="linux windows" -arch="386" -verbose
before_deploy:
- git config --local user.name "gencebay"
- git config --local user.email "[email protected]"
- export TRAVIS_TAG=${TRAVIS_TAG:-$(date +'%Y%m%d%H%M%S')-$(git log --format=%h -1)}
- git tag $TRAVIS_TAG
deploy:
provider: releases
api_key:
secure: zdE1dVfdT8Nxd0fwGW1N+CIjNUCWDeID7JjN13YE9oRJRT2gmZB3Jq5vWZQPwKNGTmyN9/t8G3Z9GxIUDcVu6wB2+kww+VO1r0CwqrwYMo9IqqhruSciR5ekbn7RFUPxJkRd1zrSb7r/eeO1+P1KU0vNKEI2FOnGM2yHutWShBrmWs+ASzc36SHzdLNhivW4NdXqq5zviYWopaXWTsezopS8iJNth5YAID/1vDuLlNEhsLa8THnyo9fRUOo6OkgzxlXXvPR0j28s0cKRG2ms2/K9tz0GBBKYYAFlvMUfdNh0iMvKz0iTVAg0JiWitGhoTGjcXnPah0n+n58zbqm5j3hXVgbk4cHWwK8vb5seeQ3vwDYogPcw3eP4BCiKpzDn43/7L6cP8OLrdVxD3YO7wAaamFOHO92ulWQwk9twpgB0GW2a0vJiyV9Q5OO3/GWG97P6umYsH85ywY9e4f9JxDH3NoOSGo3uASISQMqcIsjIaWQNPm/INUZitS+lelYfGxRx4TNJ1LeMEaoKpyBalQLtae8i462Y1QifvSHtHv4FrTtn7OQiHYjMtbe7kijeM0Gwtqo36cRH3LaqwebkDNK7uZTQpaMbz+l/dhbA35GdEIddDTv1iVRasqzhAA0xhkVCsE5dkFHA7UfclInr2BtuTm9JyrNcYM6yCpVe2Mw=
file_glob: true
file:
- "httplive_*"
skip_cleanup: true
on:
repo: gencebay/httplive