refactoring travis-ci integration