From d8f5b0f36a389776ed85bd6020af7203ec4c8efb Mon Sep 17 00:00:00 2001 From: Thiago da Silva Date: Mon, 28 Apr 2014 15:33:00 -0400 Subject: [PATCH] adding support to run jenkins triggered by travis Signed-off-by: Thiago da Silva --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index cdc78f3..85c873a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,3 +10,7 @@ install: "pip install tox nose" script: - if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then tox -e py26; fi - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then tox -e py27; fi + - if [[ $TRAVIS_PULL_REQUEST == 'false' ]]; then curl http://build.gluster.org/job/swiftonfile-builds/buildWithParameters?token=swiftonfile\&cause=http://github.com/swiftonfile/swiftonfile\&TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST + - if [[ $TRAVIS_PULL_REQUEST != 'false' ]]; then curl http://build.gluster.org/job/swiftonfile-builds/buildWithParameters?token=swiftonfile\&cause=http://github.com/swiftonfile/swiftonfile/pull/$TRAVIS_PULL_REQUEST\&TRAVIS_PULL_REQUEST=$TRAVIS_PULL_REQUEST; fi + +