Added build definition for travis-ci.