Unit tests crashing on 10.14 - working fine on 10.13

My test suite uses a third party binary to verify certain tests.

Here are the steps I use to install this library:

wget -q https://kakadusoftware.com/wp-content/uploads/2014/06/KDU802_Demo_Apps_for_MacOS_200113.dmg_.zip
7z x KDU802_Demo_Apps_for_MacOS_200113.dmg_.zip
7z x KDU802_Demo_Apps_for_MacOS_200113.dmg
7z x KDU802_Demo_Apps_for_MacOS_200113/KDU802_Demo_Apps_for_MacOS_200113.pkg
7z x Payload~
mv Library kdu
cd kdu
cp Kakadu/8.0.2/bin/kdu_expand .
cp Kakadu/8.0.2/bin/kdu_compress .
cp Kakadu/8.0.2/lib/libkdu_v80R.dylib .
chmod +x kdu_expand
chmod +x kdu_compress
install_name_tool -id {PWD}/libkdu_v80R.dylib libkdu_v80R.dylib install_name_tool -change /usr/local/lib/libkdu_v80R.dylib {PWD}/libkdu_v80R.dylib kdu_compress
install_name_tool -change /usr/local/lib/libkdu_v80R.dylib ${PWD}/libkdu_v80R.dylib kdu_expand
///////////////////////////////////////////////////////////////////////////////////////////////////

Here is the failing build:
https://travis-ci.org/github/GrokImageCompression/grok/jobs/671258174

This works fine on 10.13.

I have also tested the install on a local version of 10.14 and there is no problem.

What is the best way of trouble shooting this issue ?

Thanks!
Aaron