Fix travis build.

 - Use Ubuntu 12.04 to test build (run distribution upgrade before test).