-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
48 lines (40 loc) · 2.11 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
48
language: go
go: '1.12.x'
env:
global:
- FILE_TO_DEPLOY="dist/*"
# GITHUB_TOKEN
- secure: "bJ8ON8AfGia2beup2CRLW8QF4l+F87FZHBPjM/zkH5SGvE2OU+Z3wIYYDGIhP4q27rJ1FIGnzOgxAmy8dgXelVPex4oiZKQbwX78mjKUfxrB86uffQx6KUI7Cn3ppOovPB5hjsXOjKpkHjTkoKrwKAwlz7TON1EDHwYdeBHHbpBaIR8W02l7YP+Avqc5GoeVqxVM0t9qDRW9K93cJ3CWzGjlNbol/JIyNzORyVISyStN4boGROmFxxEfsHU1+a8SYunCxjJEdkYY16m60zU0F0jKNVP3h2c55t6oUvrCHZnM7pWJui6X+IdeQmTpEZqPR9wAbzQVrvZSYwrhXLsdhZvxjnEFRUmKnzppEl3fxpbguWvybIkK9gKWbcwcJouv+nW2IGDnChnQEVaBvR6eA+gu38s/gTJBCeWoLcvfum7EH06Iq3VusXUjN5cVLUNKO7bW+KgoSWbxjeQ9r8KBKIinxJ9xvXIo5vCQQLkQj0ELVbRfzYuXE+SutmxJkRpA16HMHYe+IZhteQElepnXVlHLNJdMDJM0H/ZRRyDSxW/7jJma8nzqwlDYTHoPqp3OIKIrRdZQFsquVb+l+dsYtBhpOLFVnKC+g/77P1y0U13aN7Vo+6b8lGZWtl7SogchXyyHhhu9LYtqtDkyuLZWrf/r5mTkfT+/gBBOH9/g1nw="
# REVIEWDOG_GITHUB_API_TOKEN
- secure: "WiMy/mwJmAZMhUURSBhQJgGj3/aDTl7BwVsEktCl4GlsDPIQqF8RCLiKp+LTykvEzttULIw201ycP0GpK5e5nBYNEkwfMEo3i1IH7C3LLgQzTjXcp7bvk+2YTCODCSqWbzQbvPq4mnkLCRZ+SVZX0ToMbcE6Zv4/f6AF90W6ZjLOq3K1hB4+bOdzTsH+a4mHb36ucUrWLdnWUvsaefd3Jhz9HuRLJc2SdAUg4+gvjlbiZq/9SoSZyoIOqod+8yqGTfrU8x87RXBE7ins+9eJoCY/I7joWX8Wdq1ZP6YGQLPNRu37dZJRrCg8xkYKlI9zFavIHUHgK1msUH6qB4q1gHLz2kGPLF65QqX0STfM22t6kz1OsdSM9DGYCQ/8o9vgp+ZT2RVh/4zVXW6/FsjwuMdfg8o+07isPmEnriHhmFfSHvGGg85pwMCNQmL7WfDo6TShXKFI7WWG1ErMLTgTUsXMs6O12+NCSFASoPJr3+40Kn/r0o6FRv0ePEyBVdQgrDB6mpdgJKs6KgS5LVJBYJ64cciAb4UvGFqvQns6JAtlliYIzNGBu5FSzCAdzZNQQxFwSqZrgxoqMF2+2Eu/g1ND0d6CRvusOKVb+vfPH2Dgr+mV/k0js65iJfeTcHU29Yks5Q+drQAFfEFC1pueDLWbNIxvJKgHvr+scTWMCfM="
cache:
directories:
- $GOPATH/pkg/mod
- $HOME/.cache/go-build
jobs:
include:
- name: lint
script: make lint
if: type = 'pull_request'
- &test
name: test
script: make test
if: type != 'pull_request'
- &test-e2e
name: "E2E test"
sudo: required
services:
- docker
script: make test-e2e
if: type != 'pull_request'
# - stage: deploy
# script: make packages -j4
# deploy:
# - provider: releases
# skip_cleanup: true
# api_key: $GITHUB_TOKEN
# file_glob: true
# file: $FILE_TO_DEPLOY
# on:
# tags: true
# if: type != 'pull_request'