Only build 3.0.x, 3.1.x and master branches