Upgrade to 1.2.2 for travis.
Merge pull request #84 from F21/upgrade_to_1.2.2

Upgrade to 1.2.2 for travis.