Fix travis configuration (fix Python 3 tests)