Travis: only build for master and master-1.2.x

[skip ci]