Cache ~/.m2 dependencies on Travis.