diff --git a/.travis.yml b/.travis.yml index 77c41533b8..add601665f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ services: - docker language: go + go: - 1.4.3 - 1.5.2 @@ -19,5 +20,8 @@ script: - docker run -d -p 127.0.0.1:15432:5432 quay.io/coreos/postgres - ./test +after_success: + - if [[ "$TRAVIS_GO_VERSION" == "1.5.2" && "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "master" ]]; then ./build-docker-push ;fi + notifications: email: false