Fix travis build config.

- Install newest CMake.
- Test build with both Clang and GCC.
- Test build with Make and Ninja.