-
Notifications
You must be signed in to change notification settings - Fork 9
/
.travis.yml
36 lines (31 loc) · 1.27 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
language: go
matrix:
include:
- go: 1.x
env:
- LATEST=true
- GO111MODULE=on
before_install:
- go get github.com/mitchellh/gox
install:
- # skip
script:
- go test -v -race ./...
- if [ "${LATEST}" = "true" ]; then gox -os="linux darwin windows" -arch="amd64" -ldflags "-s" -verbose ./...; fi
git:
depth: 1
notifications:
email: false
deploy:
provider: releases
api_key:
secure: "NU6ygHUsJxIvfQpEHeuCMb3Jgbl2XH3uv3F2wJWaNdXWpqW8SnD+IgGi6/GURg4tUsFBWh5GzMqY7tOmNwQ8mgAf3Rfp9uLzLKUbCYr+D0ZTXnJ7GACDlkMT4eHylD/+tCEwaR8AUMwHIihC6QwYgrYs+UALCmQdznWYKPDpWb8bMy4voL2Aju3fegcHdWCr59RmBQbECLC+1QSte6fOjvLNf/1YFCQTCn+T9UJc1TZewtWZRGvBC1bVSR40dhqTHWZ6pteHKAPdeOPvgQ0ENrG6SdbljAVf/imFdFEnK6f3TT5phILuYzpz45NTGgzSkgKSuDMhrYFd04X9JOH8xigEGW3bDB3jr5rGvFU3rSVtIXnBCXRwjEbotVJV+q1U2SBbUJCiv0tuKF1MhSEctpT0D75uvj6sMiyq/PKrPfpPytPjLaf9JULSa2sdppVRswZUjO5CjYtPWpt2bSiNHOJiDzuQCqEZedCjyBqKNXbq0Zu1XiEws4WhgVZUaqGZ8ietmbvvD5haU82S+bk2CoajNhLiVopjRWR3aK+On8jby7oev98ImecbgwKqrYeitLtPiueC5ftQAHCJcrFpbjVIigdICtzH5V1UMtAKNuYNsw2ck/yk8f2ufNuxppk7ZlhZD+6kCVkFNombVTWakJCiXgl+MdkTa3tIxt1YBso="
file:
- pcd_windows_amd64.exe
- pcd_darwin_amd64
- pcd_linux_amd64
skip_cleanup: true
on:
repo: kvannotten/pcd
tags: true
condition: $LATEST = true