-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
37 lines (37 loc) · 1.96 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
language: go
go: 1.15.x
services:
- docker
sudo: required
env:
global:
- secure: GHzd5D/cf/TF/1qXWGbp+6hM7J6joA2etLWgDIXNzXwdVAoPb7js5hYtXuUR+bw49l+gCo7KuNuCy1byCIJa+GXR3xwQRVxABTgq4OicR5uC0pYL8Gp0+mrZXbO+QoBimn7VUca1emx3YjWLmvDzJJL19U5Z6oL6UgNysZ3tPtpcnchPJPC2sNTHpC8bipDayARYZt6t43/JJtHtRvdJ1iQrSNTutzR+HDaV4pXEC2fMX/qYWny1W+LmIjz5RP/RALp5n0LxUQp6DeB53gG55LLzxG3Mn996ksVGqg05jbi9W34g9qkPyMU0bQS/oIWyHENYgFST8ugJcMTbL9Fask/WwsQtCMMdFACVRXHg27KhvkIRC9PJ/BjDa54uVKA13hop/QTVBeJ21yHnYcHX+W1teGbSVz/W+PunsHWa6Ser+5O4fBWNNh8w3qsChW6723Hja3LLJPHTBq8xGGjbi06mc1kYuzeHJo/LBxRWJnqS09JrgOr4LblZNkALZYviIFN2P+mL9bMT49B1KwOqgqdPt7+7arIzSPi3EjdsVzDPiDR9hLLwz/JdMm/kBQzoXJLcBULCEWeMnVKGrrvi0gL6bj/OzE8vS31bgGk3Q5oBRWjbDasSRVzGXgx4omTYhBuWZJhybzETXxnA38D2nngbX4KxfHbROjRG/TikWJc=
install:
- git submodule update --init
- go mod download
before_script:
- go vet ./...
- go build ./...
- go test -run xxxx ./...
script:
- go test -short -failfast -coverprofile=coverage.txt ./...
after_success:
- bash <(curl -s https://codecov.io/bash)
before_deploy:
- make release
deploy:
provider: releases
skip_cleanup: true
api_key:
secure: d1sPAIqPuTMSqmEb26lJ5iqnzbx1piS6W5ljG8lpnxsD2z3UCTJU6faRPOPkD/cIxMcGDp/DMsy320lcJWwAMJjayZwmbPfBswTOvefKC9lqpOAWHL0r6azwNfK4Dk/towioFq2XnSubRrT/AMrP3Ist60EpZNfXdQEE9aQNz/t4+4f3GMkeOs5R4Yx6q8jLJSgo82Zfka4AyTmHwONEO8+NBr7j8Xz3nW4xmIK5tQ77Kxp2BKAu8R4MB2PDIQiqhj+2ebkXNjTKoxhCDEUOGCYfbQ56kRsqZWh/hRWK1u0qOP0HOYLmFLVnrKCqlSFz0FPABz4bcLCYChkxY66lIrVNlCN0uCfrp1NC6V4cZG3PrUDo8LYyW9Ez6IPPfSBZ+5Mf2ObnYM6l6Abt7RqaSkepPANkDxA9HGsk77K8aV8pOQKH4uxt96706muJVlu/yjyrNRnoNpVyk45FQUULiV2eYZyE3gQOyZVj03vBZC25Bn3lQazf06CPaL6iFFILTnpISAzpnJAYxm6FTTFeeZoH0aHIRsY61Hu2CdmP2eTbBwznUr3luC1S111LEPmCl0lG9ANI+rNFVPJE6dmay6XaXvwsm4nEjdl3FD1mNSyeu3Qtt9Ci+vhiaU/FxeObeLfWNvadCBAP9eW8HqoC0W2i/X16EUEyBu6tsk7/c8Y=
file_glob: true
file: release/*
on:
tags: true
repo: bonedaddy/go-indexed
notifications:
email: false
cache:
directories:
- "$GOPATH/pkg/mod"
- "$HOME/.cache/go-build"