-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.travis.yml
32 lines (27 loc) · 1.92 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
language: go
go:
- '1.10'
script:
- |
if [[ -z "$TRAVIS_TAG" ]]; then
go test -race -coverprofile=coverage.txt -covermode=atomic ./...
bash <(curl -s https://codecov.io/bash)
fi
- |
set -x
if [[ -n "$TRAVIS_TAG" ]]; then
work_dir=$(pwd)
cd $HOME
curl -LSfs -O \
https://github.com/goreleaser/goreleaser/releases/download/v0.83.3/goreleaser_Linux_x86_64.tar.gz
tar xf goreleaser_Linux_x86_64.tar.gz
cd $work_dir
$HOME/goreleaser
fi
notifications:
email: false
slack:
secure: Gn/04W/nhM899WESJXuFcHQd/bItg3x0ctHvNteYd1UzvaK2sXDLJx6pSZNIMvK9DfgnQK0RhPeC+BRPPpFYITYaTD+IlhDQ6MiIwc0CCedyJcb8C76URpcfG3QWXlFmW1NH6ql+Y4MnMKNtRqRvrqjVYICe7gpJXxYWRyndFDu2AE4xQpUYmvJGPmq7iOW9B3CyMBMcZui28F2A9N9sr02SNfLxH1q8tZk4Hlf7b70GOdldfJEachn/w0bBaL/XQkuPPVyXObzlYm39HRhEN7rRwAGzb/ILtJwwShYBmQEWW7Egfl1REaf0kW9RUKNVSwK9+PcD2fwxWWpYDfXOJnHLTjbn1MfheslQOhUP+kstQYTHqA5gGjwtdCfvMsqqS6UKoUfKULbIXZAWq0m7s5HbEccyzm3sJ7tDc/UdmdrvpDC2gy8Csd7HKNYzIfPVs945POwkRHlHNcKDLzDrD7Xl+0VN7LJATrsCINqj0fb4Hhy6VRe370M878xCj0NXPw3Y0IJnxFd4757BrXul2GZk4GI2Wi+qd9GAVO02db46I+s9BlO1MkMb4GdkGu3SnwzEpHU1wcY+25PPjPZqfQkPrvTxPSPN9P/JL6qasGMD5GxZ87mBfgNjYAi+IviuHWYyL++h5x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