mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Fix Neo4j in Travis builds
Currently Neo4j refuses to run in Travis' container-based architecture. See this: https://github.com/travis-ci/travis-ci/issues/3243
This commit is contained in:
parent
f318781a77
commit
7c7546afb0
1 changed files with 5 additions and 1 deletions
|
@ -9,6 +9,11 @@ gemfile:
|
||||||
- Gemfile
|
- Gemfile
|
||||||
before_install:
|
before_install:
|
||||||
- gem install bundler -v 1.11.2
|
- gem install bundler -v 1.11.2
|
||||||
|
# install Neo4j locally:
|
||||||
|
- wget dist.neo4j.org/neo4j-community-2.3.3-unix.tar.gz
|
||||||
|
- tar -xzf neo4j-community-2.3.3-unix.tar.gz
|
||||||
|
- sed -i.bak s/dbms.security.auth_enabled=true/dbms.security.auth_enabled=false/g neo4j-community-2.3.3/conf/neo4j-server.properties
|
||||||
|
- neo4j-community-2.3.3/bin/neo4j start
|
||||||
before_script:
|
before_script:
|
||||||
- mysql -e 'create database database_cleaner_test;'
|
- mysql -e 'create database database_cleaner_test;'
|
||||||
- psql -c 'create database database_cleaner_test;' -U postgres
|
- psql -c 'create database database_cleaner_test;' -U postgres
|
||||||
|
@ -16,4 +21,3 @@ before_script:
|
||||||
services:
|
services:
|
||||||
- redis-server
|
- redis-server
|
||||||
- mongodb
|
- mongodb
|
||||||
- neo4j
|
|
||||||
|
|
Loading…
Reference in a new issue