Updated Travis configuration to install flake8 before testing.