Use Travis to run the tests/pyflakes

The tests currently fail, but making them pass can be another PR, I think.