Adjusted travis config for 4.x.