Merge pull request #236 from bobbyrullo/push_it_good
.travis.yml: Push to repo after success
This commit is contained in:
commit
0f7fed8d5b
1 changed files with 4 additions and 0 deletions
|
@ -3,6 +3,7 @@ services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
language: go
|
language: go
|
||||||
|
|
||||||
go:
|
go:
|
||||||
- 1.4.3
|
- 1.4.3
|
||||||
- 1.5.2
|
- 1.5.2
|
||||||
|
@ -19,5 +20,8 @@ script:
|
||||||
- docker run -d -p 127.0.0.1:15432:5432 quay.io/coreos/postgres
|
- docker run -d -p 127.0.0.1:15432:5432 quay.io/coreos/postgres
|
||||||
- ./test
|
- ./test
|
||||||
|
|
||||||
|
after_success:
|
||||||
|
- if [[ "$TRAVIS_GO_VERSION" == "1.5.2" && "$TRAVIS_PULL_REQUEST" == "false" && "$TRAVIS_BRANCH" == "master" ]]; then ./build-docker-push ;fi
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
Reference in a new issue