Set up automated testing of builds for Travis CI.