Add a new step to run unit tests

This commit is contained in:
Dmitrii Dolgov 2018-02-14 13:08:53 +01:00
parent 08e3d925e6
commit 6b9c1fe317
1 changed files with 5 additions and 0 deletions

View File

@ -19,6 +19,11 @@ build_steps:
export OPERATOR_TOP_DIR=$GOPATH/src/github.com/zalando-incubator
mkdir -p $OPERATOR_TOP_DIR
ln -s $(pwd) $OPERATOR_TOP_DIR/postgres-operator
- desc: 'Run unit tests'
cmd: |
export PATH=$PATH:$HOME/go/bin
export GOPATH=$HOME/go
go test ./...
- desc: 'Build & push docker image'
cmd: |
export PATH=$PATH:$HOME/go/bin