forked from neo4jrb/activegraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (37 loc) · 1.47 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
---
dist: xenial
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=600m' >> ./db/neo4j/development/conf/neo4j$WRAPPER.conf"
- "echo 'dbms.memory.heap.initial_size=600m' >> ./db/neo4j/development/conf/neo4j$WRAPPER.conf"
- "bin/rake neo4j:start --trace"
- wget https://github.com/neo4j-drivers/seabolt/releases/download/v1.7.4/seabolt-1.7.4-Linux-ubuntu-16.04.deb
- sudo dpkg -i seabolt-1.7.4-Linux-ubuntu-16.04.deb
- "while [ $((curl localhost:7474/ > /dev/null 2>&1); echo $?) -ne 0 ]; do sleep 1; done"
script:
- "travis_retry bin/rake default --trace"
language: ruby
cache: bundler
jdk: openjdk11
rvm:
- 2.7.1
- jruby-9.2.11.1
- jruby-9.2.12.0
env:
global:
- JRUBY_OPTS="--debug -J-Xmx1280m -Xcompile.invokedynamic=false -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -Xcompile.mode=OFF"
- NEO4J_URL="bolt://localhost:7472"
matrix:
- NEO4J_VERSION=enterprise-3.5.19
- NEO4J_VERSION=enterprise-4.0.6
matrix:
include:
# Testing older versions of ActiveModel
- rvm: 2.5.8
jdk: openjdk8
env: NEO4J_VERSION=community-3.4.18 ACTIVE_MODEL_VERSION=5.2.3
- rvm: jruby-9.2.11.1
env: driver=java NEO4J_VERSION=enterprise-4.0.6