kompose/.travis.yml
Tomas Kral a0ba435efb
Add check-vendor script
This checks vendor dir for nested vendors
and if vendor has been cleaned by glide-vc
2016-12-07 19:57:47 +01:00

36 lines
709 B
YAML

# we need trusty because test-cmd depends on jq version >= 1.5
dist : trusty
sudo: required
language: go
go:
- 1.6
before_install:
- go get github.com/mattn/goveralls
- go get github.com/modocache/gover
- go get github.com/Masterminds/glide
- go get github.com/sgotti/glide-vc
install:
- true
script:
- make check-vendor
- make validate
- make test-unit-cover
# gover collects all .coverprofile files and saves it to one file gover.coverprofile
- gover
- goveralls -coverprofile=gover.coverprofile -service=travis-ci
# make test-cmd requires kompose binary
- make bin
# $GOPATH/bin is in $PATH
- mkdir -p $GOPATH/bin
- cp kompose $GOPATH/bin/
- make test-cmd