summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormayeut <mayeut@users.noreply.github.com>2016-07-05 23:53:31 +0200
committerMathieu Malaterre <mathieu.malaterre@gmail.com>2016-09-13 11:00:07 +0200
commit0fac6e4222ef3c995f2760fd747a9c104a725886 (patch)
tree59a556616101c555cfca32ad5675d67337e80977
parent76fa5c5639db5571eab0b1d90a27bbbd6b38ce86 (diff)
Update ABI tracker from 2.1 to 2.1.1
-rwxr-xr-xtools/travis-ci/abi-check.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/travis-ci/abi-check.sh b/tools/travis-ci/abi-check.sh
index 148dbe40..f9c6732e 100755
--- a/tools/travis-ci/abi-check.sh
+++ b/tools/travis-ci/abi-check.sh
@@ -14,8 +14,9 @@ if [ "${OPJ_CI_ABI_CHECK:-}" != "1" ]; then
fi
OPJ_UPLOAD_ABI_REPORT=0
+OPJ_PREVIOUS_VERSION="2.1"
OPJ_LATEST_VERSION="2.1.1"
-OPJ_LIMIT_ABI_BUILDS="-limit 2"
+OPJ_LIMIT_ABI_BUILDS="-limit 3"
OPJ_REPO="https://github.com/uclouvain/openjpeg.git"
OPJ_SSH_REPO=${OPJ_REPO/https:\/\/github.com\//git@github.com:}
OPJ_UPLOAD_BRANCH="gh-pages"
@@ -81,10 +82,12 @@ EXIT_CODE=0
# Check API
abi-compliance-checker -l openjpeg -old $(find ./abi_dump/openjpeg/$OPJ_LATEST_VERSION -name '*.dump') -new $(find ./abi_dump/openjpeg/current -name '*.dump') -header openjpeg.h -api -s || EXIT_CODE=1
+abi-compliance-checker -l openjpeg -old $(find ./abi_dump/openjpeg/$OPJ_PREVIOUS_VERSION -name '*.dump') -new $(find ./abi_dump/openjpeg/$OPJ_LATEST_VERSION -name '*.dump') -header openjpeg.h -api -s || EXIT_CODE=1
# Check ABI
if [ "${OPJ_LIMIT_ABI_BUILDS}" != "" ]; then
abi-compliance-checker -l openjpeg -old $(find ./abi_dump/openjpeg/$OPJ_LATEST_VERSION -name '*.dump') -new $(find ./abi_dump/openjpeg/current -name '*.dump') -header openjpeg.h -abi -s || EXIT_CODE=1
+ abi-compliance-checker -l openjpeg -old $(find ./abi_dump/openjpeg/$OPJ_PREVIOUS_VERSION -name '*.dump') -new $(find ./abi_dump/openjpeg/$OPJ_LATEST_VERSION -name '*.dump') -header openjpeg.h -abi -s || EXIT_CODE=1
else
echo "Disable ABI check for now, problems with symbol visibility..."
fi