add travis configuration
declare hamcrest as a dependency for tests