refactored travis config