forked from QubitProducts/bamboo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (28 loc) · 855 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
34
35
language: go
sudo: false
addons:
apt:
packages:
- zookeeperd
go:
- 1.4
install:
# WORKING DIR
# $HOME/gopath/src/github.com/QubitProducts/bamboo
- export PATH=$PATH:$HOME/gopath/bin
# Install build dependencies
- go get bitbucket.org/tebeka/go2xunit
- go get github.com/smartystreets/assertions
- go get -t github.com/smartystreets/goconvey
- go get -v -u github.com/tools/godep
- go get github.com/mattn/goveralls
- go get github.com/go-playground/overalls
# Tests should fail if go fmt is required
script:
- '[[ -z "$(go fmt ./... | tee -a /dev/stderr)" ]]'
- go vet ./...
- go test -v ./...
- overalls -project=github.com/QubitProducts/bamboo -covermode=count -debug -ignore=Godeps,webapp,builder,.git
- goveralls -coverprofile=./overalls.coverprofile -service=travis-ci
notifications:
email: false