Refine travis config to only install qt4 or qt5 per build instead of both