1*977ce05dSgerardnico#!/bin/bash 2*977ce05dSgerardnicoif [ "${TRAVIS_PULL_REQUEST_BRANCH}" == "" ]; 3*977ce05dSgerardnicothen 4*977ce05dSgerardnico BUILD_BRANCH=${TRAVIS_BRANCH}; 5*977ce05dSgerardnicoelse 6*977ce05dSgerardnico BUILD_BRANCH=${TRAVIS_PULL_REQUEST_BRANCH}; 7*977ce05dSgerardnicofi; 8*977ce05dSgerardnicoecho -e "\nGet boot.sh from from the branch (${BUILD_BRANCH})"; 9*977ce05dSgerardnicocurl -H "Authorization: token ${TOKEN}" -o "boot.sh" "https://raw.githubusercontent.com/ComboStrap/combo_test/${BUILD_BRANCH}/resources/script/ci/boot.sh" 10