Use batch mode for builds before tests.