Customize cloning to include tags so that VERSION is valid.

This commit is contained in:
Jason Evans 2019-01-09 17:07:11 -08:00
parent 6910fcb208
commit 646af596d8

View File

@ -10,7 +10,11 @@ task:
install_script:
- sed -i.bak -e 's,pkg+http://pkg.FreeBSD.org/\${ABI}/quarterly,pkg+http://pkg.FreeBSD.org/\${ABI}/latest,' /etc/pkg/FreeBSD.conf
- pkg upgrade -y
- pkg install -y autoconf gmake
- 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 fetch origin ${CIRRUS_BRANCH}/head:${CIRRUS_BRANCH}
- git checkout ${CIRRUS_BRANCH}
script:
- autoconf
#- ./configure ${COMPILER_FLAGS:+ CC="$CC $COMPILER_FLAGS" CXX="$CXX $COMPILER_FLAGS" } $CONFIGURE_FLAGS