[2.0.0] Travis build fixes like 1.3.2 branch for latest php and travis configuration

i feel that it would be nice :)