forked from ckaznocha/protoc-gen-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
24 lines (24 loc) · 1.2 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
language: go
go:
- tip
env:
- MY_GOOS=darwin MY_GOARCH=amd64
- MY_GOOS=linux MY_GOARCH=amd64
- MY_GOOS=windows MY_GOARCH=amd64
script:
- go test -v ./...
- export GOOS="${MY_GOOS}"
- export GOARCH="${MY_GOARCH}"
- go build -v .
before_deploy:
- zip protoc-gen-lint_${MY_GOOS}_${MY_GOARCH}.zip protoc-gen-lint* README.md LICENSE
deploy:
provider: releases
api_key:
secure: rKiP2lFonH6iEx7HEK8eFF77pct2P3KkZ7+JFYMxxoJRWWA2x7/1h/Nd8JpA/TSiZhjmzscIHMUr7vblUxXiGFDCG4Rra1beLoJFw+YFdjirppol5dSZyS485D0F5CDAe1QE7uVaJ/VjU6XDf3X2gPENw3jNDNGfde4JLiPITa+Xc2ThMMjBQnd8LyFAh+svgNdAQo77+EJR6CqVW9w3s/j4Do5QGt+bBjw4SoGDmOyLIxEjp8O/JbaUN6sYLAvonKrFDBF1DARr3VcZt7uP9kCtTinxxGA6I9BCR4ia0Iz4NUCrUcZiElzasrDE6WPvD2J/fni/qA5jZnMp75MqPEi/ypC5b1Rg+Qtq4GZnzD5xmvh+wFMdedhgVAUccpxDcs5XyKKTulEIxoKwoziE7BZCZBW5gmyu4n+WS2rBOT0bZBhCbs3yFJQ9b97w/dNDMtr86kC1iykYmW4Djth43caZSO7h1qUoKQ7GghWUkXnf9y6f2NapSF2xx/kXkCfb4uG2LJUtJpm4JDPjz2PwZ4bgISddlgwKzpzjec8vaS1xd3nS+NLY5jrFZKWcONXRDfCeamSI9537tM4uHzdlr7ZcXyvndlPqr226UUOnBHRu5QQFCfblQE1iKegF3fJZR6r4FJO62buZQsMC1maUtKwYmS514dezA85muPtcs5M=
file: protoc-gen-lint_${MY_GOOS}_${MY_GOARCH}.zip
file_glob: true
skip_cleanup: true
on:
repo: ckaznocha/protoc-gen-lint
tags: true