Increment to v3.31.
Add .travis.yml.