Add travis_wait to the main build step

Should prevent Maven from encountering the 10 minute Travis timeout.