script: "bundle exec rake neo4j:install[community-latest] neo4j:start default --trace"
language: ruby
cache: bundler
sudo: false
rvm:
  - 2.3
  - 2.4
  - 2.5
gemfile: travis.gemfile
env:
  global:
  - TRAVISCI=1
  matrix:
  - NEO4J_VERSION=7.2.3
  - NEO4J_VERSION=8.3.4
  - NEO4J_VERSION=9.2.2

before_script:
  - "travis_retry bin/rake neo4j:install[$NEO4J_VERSION] --trace"
  - "bin/rake neo4j:config[development,7474] --trace"
  - "if [ -f ./db/neo4j/development/conf/neo4j-wrapper.conf ]; then WRAPPER=-wrapper; fi"
  - "echo 'dbms.memory.pagecache.size=600m' >> ./db/neo4j/development/conf/neo4j.conf"
  - "echo 'dbms.memory.heap.max_size=600' >> ./db/neo4j/development/conf/neo4j$WRAPPER.conf"
  - "echo 'dbms.memory.heap.initial_size=600' >> ./db/neo4j/development/conf/neo4j$WRAPPER.conf"
  - "bin/rake neo4j:start --trace"
  - "sleep 20"
script:
  - "travis_retry bin/rake default --trace"
language: ruby
cache: bundler
sudo: false
rvm:
  - 2.3
  - 2.4
  - 2.5
gemfile: travis.gemfile
env:
  global:
  - TRAVISCI=1
  matrix:
  - NEO4J_VERSION=7.2.3
  - NEO4J_VERSION=8.3.4
  - NEO4J_VERSION=9.2.2

Copy neo4j setup from neo4j gem
Copy neo4j setup from neo4j gem
