Revert "Remove unused TravisCI `beforescript` option"

This reverts commit bddd8447d8e1da55afe28dc1d5f06e84e027a9cf.