Travis: filter out some unneeded compilation messages, and only upload if we're on the master branch