M #-: Change wrong repo check for protect branch

(cherry picked from commit e2c92e7a32)
This commit is contained in:
Tino Vazquez committed 2019-09-02 10:06:22 +02:00
1 parent f9e469b10f
commit bdfe1c0de7
1 file changed
+1 -1
+1 -1
View File
@@ -10,7 +10,7 @@ if [[ $TRAVIS_BRANCH =~ (^one-) ]]; then
export CURRENT_ONE_INSTALL=~/current.install
# Checkout previous code base
git clone https://github.com/tinova/one $PREVIOUS_ONE
git clone https://github.com/OpenNebula/one $PREVIOUS_ONE
(cd $PREVIOUS_ONE ; git checkout $TRAVIS_BRANCH)
# In a PR we compare with the head of $TRAVIS_BRANCH
# Otherwise, we want to check with the previous commit