improve travis for 2.2.x branch