Rebase PRs against $TRAVIS_BRANCH before performing tests
This commit is contained in:
parent
20fd04b9e7
commit
c8bd27f1e8
1 changed files with 4 additions and 0 deletions
|
@ -9,6 +9,10 @@ addons:
|
||||||
packages:
|
packages:
|
||||||
- python2.4
|
- python2.4
|
||||||
- python2.6
|
- 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:
|
install:
|
||||||
- pip install git+https://github.com/ansible/ansible.git@devel#egg=ansible
|
- 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
|
- pip install git+https://github.com/sivel/ansible-testing.git#egg=ansible_testing
|
||||||
|
|
Loading…
Reference in a new issue