forked from atlassian/gostatsd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (30 loc) · 1.32 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
sudo: required
language: go
services:
- docker
go:
- "1.13.6" # Keep in sync with Makefile and README.md
os:
- linux
before_install:
- go get -v github.com/mattn/goveralls
install:
- make setup-ci
script:
- make build-all
- make test-race
- make check
- make bench-race
- make coveralls
after_success:
- if [ "$TRAVIS_OS_NAME" == "linux" -a ! -z "$TRAVIS_TAG" ]; then
echo "Executing release on tag build $TRAVIS_TAG";
docker login -u="$DOCKER_USERNAME" -p="$DOCKER_PASSWORD";
ARCH=linux make release;
else
echo "Not executing release on non-tag build";
fi
notifications:
slack:
rooms:
- secure: "EF1NRiIG0JVrdIvtSAl59XdwykQr0VsX0LYr2Qkp9igxKVPFbSy1bYePwxSFjur7h1HnSA/mdEl7znqjAkQ8smim5Dbu+rOs2X/z5n3p+WzU705AoLX2+aRJUAkd7KJakYR0bI7sAm+xYkVVLMncFPndZlwlbk0ohBja1KM4T39L7pFbIzeeSy/pryBGp+aCjwvErpUyfXQEd15FcWH/cUpzoB8AxHww0LI1VXGtTHSc6cgCY3D7YQ0hoQsWpKwNoW/XyGN8f0ax46NkB2tM9nTXrKsovi55Lz3mSiCktWG2pEvk9u7DYWgBfRIXtu9nn1YpB+3gcNYDcPz+ps45uupCJYNuLWjTd1JfkYezQ1msNJsuYPa+Q1fPJX13fS8rXAnmkULVNqmPz/L7XflZ3MU/VrIRdW3UjfuHe6UjksevC4LpnvA1axY+xZpCbfnqwx3gLQx1rqPd9ttx3EguvvUnsOQd81cnCILS+e3YjyfZx5LY/xnioPc4NRkjUyaoxQU7n/qBDbAtV1Bd6bqNmQRNAAyHEBE5ary6AX/vd3XRxTQPF4W9tfKFtzc+qaTJWKBc3hwozaL1lxB4M6ZDBycWu8fwLvxihbEb5RYNAcC7ASmIPCJlSTvIFYkAX2onLLHn/OVMyhRXDeKDhTl8qZRRbd+rnc37wOv+RN/p5sA="