This repository has been archived on 2025-03-30. You can view files and clone it, but cannot push or open issues or pull requests.
bactdb/shippable.yml
2015-01-28 10:32:43 -09:00

26 lines
664 B
YAML

language: go
addons:
postgresql: 9.3
go: 1.4
before_install:
- export GOPATH=$SHIPPABLE_GOPATH
- source $HOME/.gvm/scripts/gvm
- gvm install go$SHIPPABLE_GO_VERSION
- gvm use go$SHIPPABLE_GO_VERSION
- go get github.com/t-yuki/gocover-cobertura
- go get github.com/onsi/gomega
- go get github.com/onsi/ginkgo
- go get golang.org/x/tools/cmd/cover
before_script:
- psql -c 'CREATE DATABASE bactdbtest;' -U postgres
- mkdir -p shippable/testresults
- mkdir -p shippable/codecoverage
script:
- go test -coverprofile=coverage.txt -covermode count ./
- $GOPATH/bin/gocover-cobertura < coverage.txt > shippable/codecoverage/coverage.xml