WIP: fix abi-check and automatic upload

This commit is contained in:
Antonin Descampe 2017-08-02 16:50:11 +02:00
parent 48125b0d12
commit eb90d8ec93
1 changed files with 15 additions and 1 deletions

View File

@ -13,6 +13,16 @@ if [ "${OPJ_CI_ABI_CHECK:-}" != "1" ]; then
exit 0 exit 0
fi fi
if [ "${OPJ_CI_CC:-}" != "" ]; then
export CC=${OPJ_CI_CC}
echo "Using ${CC}"
fi
if [ "${OPJ_CI_CXX:-}" != "" ]; then
export CXX=${OPJ_CI_CXX}
echo "Using ${CXX}"
fi
OPJ_UPLOAD_ABI_REPORT=0 OPJ_UPLOAD_ABI_REPORT=0
#OPJ_PREVIOUS_VERSION="2.1.1" #OPJ_PREVIOUS_VERSION="2.1.1"
OPJ_LATEST_VERSION="2.1.2" OPJ_LATEST_VERSION="2.1.2"
@ -59,6 +69,10 @@ mkdir ${PWD}/tools/abi-tracker
make -C installer-0.10 install prefix=${PWD}/tools/abi-tracker target=abi-tracker make -C installer-0.10 install prefix=${PWD}/tools/abi-tracker target=abi-tracker
export PATH=${PWD}/tools/abi-tracker/bin:$PATH export PATH=${PWD}/tools/abi-tracker/bin:$PATH
# This will print configuration
# travis-ci doesn't dump cmake version in system info, let's print it
cmake --version
# RUN THE ABI-CHECK SCRIPTS # RUN THE ABI-CHECK SCRIPTS
mkdir work mkdir work