start displaying glibcxx symbols needed in the binary (only relevant for linux)

This commit is contained in:
Dane Springmeyer 2017-11-09 10:05:12 -08:00
parent 98c26bcae0
commit 26a1c79efb

View file

@ -106,6 +106,9 @@ script:
# (and might work) for the next build # (and might work) for the next build
- DURATION=2400 - DURATION=2400
- scripts/travis-command-wrapper.py -s "date" -i 120 --deadline=$(( $(date +%s) + ${DURATION} )) make - scripts/travis-command-wrapper.py -s "date" -i 120 --deadline=$(( $(date +%s) + ${DURATION} )) make
# dump glibcxx symbols >= 3.4.20 (if this returns output
# then it means the binaries will not run on ubuntu trusty without upgrading libstdc++)
- nm src/libmapnik* | grep "GLIBCXX_3.4.2[0-9]" || true
- RESULT=0 - RESULT=0
- make test || RESULT=$? - make test || RESULT=$?
# we allow visual failures with g++ for now: https://github.com/mapnik/mapnik/issues/3567 # we allow visual failures with g++ for now: https://github.com/mapnik/mapnik/issues/3567