travis: when testing, also build dist

Otherwise, we may miss build errors.