From a60a4d25bf33cf5aab3a531a1b363b8a4fe79bce Mon Sep 17 00:00:00 2001 From: Bobby Rullo Date: Mon, 21 Dec 2015 14:46:17 -0800 Subject: [PATCH] .travis.yml: Push to repo after success. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 36126abb..c488776e 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/ericchiang/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