Make Travis build and use debug variants for tests

Yeah, what he said.