Fix travis.yml for functional tests