Add matrix support for travis runs.