Try to only build tests on Ubuntu 18.04 for now (mostly because of ImageMagick).