Rebase PRs against $TRAVIS_BRANCH before performing tests

This commit is contained in:
Matt Martz 2016-04-01 13:28:25 -05:00 committed by Matt Clay
parent 20fd04b9e7
commit c8bd27f1e8

View file

@ -9,6 +9,10 @@ addons:
packages:
- python2.4
- python2.6
before_install:
- git config user.name "ansible"
- git config user.email "ansible@ansible.com"
- if [[ "$TRAVIS_PULL_REQUEST" != "false" ]]; then git rebase $TRAVIS_BRANCH; fi;
install:
- pip install git+https://github.com/ansible/ansible.git@devel#egg=ansible
- pip install git+https://github.com/sivel/ansible-testing.git#egg=ansible_testing