(refactor) Refactored Travis to use configure script