Docker build environments

-w "$TRAVIS_BUILD_DIR" -v "$TRAVIS_BUILD_DIR:$TRAVIS_BUILD_DIR" also seems suspicious. You are mounting stuff under /home, but it’s not your homedir (in a container, you are usually root) and doesn’t have the usual stuff – this may break software’s assumptions.
Better mount it somewhere neutral – e.g. under /root or /mnt (the Multibuild project uses /io).

Then, there is an error on installation step that you might have overlooked.