Parallelize test runs on Travis (fixes #2980).