forked from tsuru/planb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (33 loc) · 813 Bytes
/
.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
language: go
sudo: required
go:
- 1.6.3
- 1.7.3
- tip
env:
global:
- GO_FOR_RELEASE=1.7.3
- IMAGE_NAME=tsuru/planb
matrix:
- GOARCH=amd64
addons:
apt:
packages:
- rpm
install:
- true
script:
- go test -short -race ./...
- CGO_ENABLED=0 go build
after_success:
- curl https://raw.githubusercontent.com/tsuru/push-to-docker/master/push.sh | bash
- test -n "$TRAVIS_TAG" && curl -sL https://raw.githubusercontent.com/tsuru/push-to-packagecloud/master/push.sh | PACKAGE_NAME=planb bash
services:
- redis-server
- docker
matrix:
allow_failures:
- go: tip
notifications:
slack:
secure: kCYIZs8J3NhrIlwR5fT9704UUeERAsNroU5FAlAi+Nk/GYWcRnxxt2Wc6AUkFCR+3Mei8c0fEZy8hejmn+UDgxCY0nln0l/g4Lmv47NsULsp9y1YQdxD1GGRLrSUPvYRBtEpog3K7+X/amb3pjzOjqrOY3n5vWGT9yagyLk95Fc=