-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
47 lines (43 loc) · 1.52 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
37
38
39
40
41
42
43
44
45
46
47
language: go
go:
- "1.12.x"
env:
- GO111MODULE=on
matrix:
include:
- os: windows
script:
- go test
- go build
before_deploy: ./scripts/pack_windows.x86-64.bat
cache:
directories:
- $HOME/AppData/Local/go-build
- $HOME/gopath/pkg/mod
- os: linux
script:
- xvfb-run go test
- go build
addons:
apt:
update: true
packages:
- xvfb
- libgtk-3-dev
before_deploy: ./scripts/pack_linux.x86-64.sh
cache:
directories:
- $HOME/.cache/go-build
- $HOME/gopath/pkg/mod
install: true
deploy:
provider: releases
api_key:
secure: pUvWpsj6oy+F+C71ftozpf7ZhAC808Y1vVaxjql3CUYVZGN1Fx8KnmTJpjZxhLALadCQmp3QrqEZ6uWeamHy66ipPyroM+yHlx4vUqOlE973S/lF7F+VWUCaJBv04nTkPquQrr/quqrpj/1YYthWa7ZaNcqOuhkRd2/VWevPw3vbvwCPd9bWDMcY9gdtXmIiLrkF6eZPo7L4nM759jOG2wIN4W10x57qv9xdVGpLkRKvFcKfEyS0iPXbANdwZcjKesumpyNY3DzgKf8mKOcLrKe/BT7z0CqYT+Z55bwD+TQt94sh5OinPhotKtnEhR+zEN+5EonF4hwHNAfYNl9x2IiEVww4XTdGHN/RK+3GKCNP7raDbvsGimp4egF+7HzTmqBsL6LqkGMX6cUBVLpgu5IL2s98zSGudhYkmo5Dm+WYP1CmHDFSOYj5qUuTbZuQoqoy/yhKLKeEfGJJeO7wyRONypB9Q7S+Rpr4PMrW1pQqdTEHxho9Vr/5HtxP9Z2dWEOlsK9GH9i4eLtt2p0crArgTFruE2qd8eXRfMx8tBL+15hgPoPczhalFvUQnnV0QJ0flnm2uTtJZGz1Tv28qeFz36K4z8wGYyLV5fDhyYV392PbR8SKDlxc9WNifGk979mMbJHKrTzNI781Nczg4kz8rW/0ymWjNycjE6BQJT0=
file:
- "./distribution/Windows.x86-64.7z"
- "./distribution/Linux.x86-64.tar.gz"
skip_cleanup: true
draft: true
on:
tags: true