I have a travis config with neo4j service enabled as described in the documentation:
However neo4j service began failing to start when its starting command changed from
sudo service neo4j start
sudo systemctl start neo4j
and failed with the following message:
Failed to start neo4j.service: Unit neo4j.service not found.
dist: trusty fixed the issue. But it should work on all environments, isn’t it?
For a better search of this topic, here’s the error i’ve been getting in the build logs:
neo4j.exceptions.ServiceUnavailable: Failed to establish connection to ('127.0.0.1', 7687) (reason 111)