Use Travis cache.

[skip ci]
Merge pull request #987 from methane/travis-cache

Use Travis cache.