refactor travis tests