Update `.travis.yml` to install mock for python 2.7