verify build

Signed-off-by: Huamin Chen <hchen@redhat.com>
This commit is contained in:
Huamin Chen 2018-02-15 21:02:39 +00:00
parent ed7d6e746c
commit 4b5ad66662
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ script:
- test -z $(gofmt -s -l $GO_FILES) - test -z $(gofmt -s -l $GO_FILES)
- go vet -v $(go list ./... | grep -v /vendor/) - go vet -v $(go list ./... | grep -v /vendor/)
- make rbdplugin - make rbdplugin
deploy: deploy:
- provider: script - provider: script
script: script:

View File

@ -1,4 +1,4 @@
#/bin/bash #!/bin/bash
if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then if [ "${TRAVIS_BRANCH}" == "master" ] && [ "${TRAVIS_PULL_REQUEST}" == "false" ]; then
docker login -u "${QUAY_IO_USERNAME}" -p "${QUAY_IO_PASSWORD}" quay.io docker login -u "${QUAY_IO_USERNAME}" -p "${QUAY_IO_PASSWORD}" quay.io