circleci: use backport-0.20.x branch for integration tests
@@ -148,14 +148,8 @@ jobs:
mkdir -p /home/killbill/killbill-integration-tests
git clone https://github.com/killbill/killbill-integration-tests.git /home/killbill/killbill-integration-tests
pushd /home/killbill/killbill-integration-tests
- #if [ "${CIRCLE_BRANCH}" != "master" ]; then
- # if [ -n "$(git ls-remote --heads https://github.com/killbill/killbill-integration-tests.git ${CIRCLE_BRANCH})" ]; then
- # echo "Switching to branch ${CIRCLE_BRANCH}"
- # git checkout -b ${CIRCLE_BRANCH} origin/${CIRCLE_BRANCH}
- # else
- # echo "killbill-integration-tests doesn't have a branch ${CIRCLE_BRANCH}, staying on master"
- # fi
- #fi
+ echo "Switching to branch backport-0.20.x"
+ git checkout -b backport-0.20.x origin/backport-0.20.x
source /usr/share/rvm/scripts/rvm
rvm use ruby-2.4.2
