Attempt to get travis CI working

There is permission denied errors when installing pip so trying with sudo.

Also trying to log the test failures to the travis console.