Remove --branch=${CIRRUS_BASE_BRANCH} in git clone command.

The --branch parameter is unnecessary, and may avoid problems when
testing directly on the dev branch.
This commit is contained in:
Jason Evans 2019-01-11 12:38:14 -08:00
parent 646af596d8
commit fc13a7f1fa

View File

@ -12,7 +12,7 @@ task:
- pkg upgrade -y
- pkg install -y autoconf git gmake
clone_script:
- git clone --tags --branch=${CIRRUS_BASE_BRANCH} https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git ${CIRRUS_WORKING_DIR}
- git clone --tags https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git ${CIRRUS_WORKING_DIR}
- git fetch origin ${CIRRUS_BRANCH}/head:${CIRRUS_BRANCH}
- git checkout ${CIRRUS_BRANCH}
script: