Update travis to work correctly with branches