Update the Travis build versions to 3.1.
Merge pull request #1239 from ajshort/travis-composer-3.1

Travis Composer Integration (3.1.x)