Fix Travis build order to allow ql tests to pass