travis-ci: Install mock as a dependency of tests.