forked from RegioHelden/innovazammad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (37 loc) · 1.25 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
language: go
dist: xenial
go:
- "1.11"
- "1.x"
- "master"
os:
- linux
matrix:
allow_failures:
- go: "master"
fast_finish: true
env:
- GO111MODULE=on
script: go test -v ./...
cache:
directories:
- /home/travis/gopath/pkg/mod/
stages:
- cache
- test
- name: release
if: tag =~ ^v[0-9]
jobs:
include:
- stage: cache
script: go mod download -json
- stage: release
script: make
deploy:
provider: releases
api_key:
secure: JIl/hXpc5Kg2oHwC6bWVDq95FNxHYTNG8Mm7DkHF/4eIkJ7/tI6jPSe3zZt1DG7dftVSDcg8nzT9uUDiX4w8jxTkahm4XjOrr8EfoNnkJZjHmkdpFATEIF20hWAjf2oAA7JXuzAkTeFwqqUN9Wd2CXNPuDBG5RW15z5NmEvwvK+pkBVNI3+pBfrjtB7kChTeT5wDG0O/WH7YgPA+QflR1tj+DNeM/B1svM2/12qiwDMQY8+WaHNXea0DOfxXrQFFFO1x0AnUUviKXbvlREX7tIdHtwc9pay5RAfomjKdwm1gPfkh6xbQrDW40yf3GfCd5AhxRqEv2X1jA3zCbDU6Qyrcl5RfeOpfaNqCRS0WEaSyzU3nCzrLWzzRO17Bpr0sIzfcBK0DNK7u7O0CI40QpmObOLf4zMgflkSMYpWzHCwqopAgK0YpaVf7m+QikRS8EYGZL+bhzg+UDbMBl+fhljq04FhUiAvEINAFSP41/+pQiE+HIQa+Jh4ocrdiC4GYGxxTKrzgll0J/Cq7pyZm6W7Y8MlHDp82kC/e4IZ0s0ZxBDzbGhtN6vnlPFj4TsiMAjFqPBNQZLL2M7QjvMvHtpPgJHIB4ph6Yx5XQkitLBqDeWD6xzo5wJ87Oxpyz2RjrhPI6uL8kciqb21DQVEIP/M7DnYhAJN0uwwpCbsHiCo=
file: innovazammad
skip_cleanup: true
on:
tags: true