Update the Travis build versions to 3.1.