This repository has been archived by the owner on Jun 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy path.travis.yml
30 lines (27 loc) · 1.97 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
language: go
go:
- 1.10.x
before_install:
- go get github.com/axw/gocov/gocov
- go get github.com/mattn/goveralls
- if ! go get code.google.com/p/go.tools/cmd/cover; then go get golang.org/x/tools/cmd/cover; fi
install:
- make ensure
script:
- go test -v -coverprofile=coverage.out ./...
- $HOME/gopath/bin/goveralls -coverprofile=coverage.out -service=travis-ci -repotoken $COVERALLS_TOKEN
before_deploy:
- make cross-build
- make dist
deploy:
provider: releases
api_key: $GITHUB_TOKEN
file_glob: true
file: 'dist/*.{tar.gz,zip}'
skip_cleanup: true
on:
tags: true
env:
global:
- secure: "JOfqfz6A0P108lGSIGDGEhzOpIBCSW3FkQFg9l1XcJOIrvcqH+v0TFhx+Ont1qplfp5QLOqc81Fy7txP6vd2SSKNKUoevm6XPR8ld6zYwE7jAQKAyVdGj+H/pcJI0GSlqDjay0lxd/0zqeZ4Ag9SBAQaTZNsjPPtErhsMhA1zb/vE5E/7YVibVW1VJyXnOMrXgDckmwcKYUkvo+mQchT9gNRvaRKrI4kNVkCTwCnVJlkmlMwtk50qSAz8iN2MWZxNwps9leWtJ0hv99qd+pUpdq39UBZzXQOwvIpoQKwrN34X9yheHVoFLoyYtZEUhz4Ge0tqW/S7QgFFLX+NiFZ3oygQ2zLF+L4Cb4OHwsD7oi4Dqgve42U3TrK426cIq6hmb9erMjFWke8L6mvh5RbgIBSxBPkRGG1lU+WOPD2uboZA49IS/SNO1bnR1KZgmTWsb0F5Wfhnt2r778fvAEiFEixfjrdMtS5zmMsDMl7P6hs9YknniBVNZcZqiTzvpEiekjoMkHg+Pbd963E9N6remWWoqT1KhwJMUrY5uTxfZWnrZJzyZR8QHXW7nKOC7Xgf3DfAVuW/vtLT/Idocwecr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