1#!/bin/bash
2if [ "${TRAVIS_PULL_REQUEST_BRANCH}" == "" ];
3then
4    BUILD_BRANCH=${TRAVIS_BRANCH};
5else
6    BUILD_BRANCH=${TRAVIS_PULL_REQUEST_BRANCH};
7fi;
8echo -e "\nGet boot.sh from from the branch (${BUILD_BRANCH})";
9curl -H "Authorization: token ${TOKEN}" -o "boot.sh" "https://raw.githubusercontent.com/ComboStrap/combo_test/${BUILD_BRANCH}/resources/script/ci/boot.sh"
10