Modified travis yml to build project before running tests.