travis: first build with clang, then with gcc, move the kernel checking job to be the last job.

This speeds up the travis by a few more minutes. (the kernel job is not taken into account because it's allowed to fail.)