forked from neo4jrb/activegraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (54 loc) · 2.07 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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"
- "sleep 20"
script:
- "travis_retry bin/rake default --trace"
language: ruby
cache: bundler
sudo: false
jdk: oraclejdk8
rvm:
- 2
- 2.2
- jruby-9
env:
global:
- JRUBY_OPTS="--debug -J-Xmx1280m -Xcompile.invokedynamic=false -J-XX:+TieredCompilation -J-XX:TieredStopAtLevel=1 -J-noverify -Xcompile.mode=OFF"
matrix:
- NEO4J_URL="http://localhost:7474" NEO4J_VERSION=community-3.3.1
- NEO4J_URL="bolt://localhost:7472" NEO4J_VERSION=community-3.3.1
matrix:
include:
- rvm: 2
jdk:
before_script:
script: "bundle exec rubocop"
env: "RUBOCOP=true"
# Testing older versions of ActiveModel
- rvm: 2
env: NEO4J_URL="http://localhost:7474" NEO4J_VERSION=community-3.2.8 ACTIVE_MODEL_VERSION=5.1.0
# Older versions of Neo4j with latest version of Ruby
- rvm: 2
env: NEO4J_URL="http://localhost:7474" NEO4J_VERSION=community-3.2.8
- rvm: 2
env: NEO4J_URL="bolt://localhost:7472" NEO4J_VERSION=community-3.2.8
- rvm: 2
env: NEO4J_URL="http://localhost:7474" NEO4J_VERSION=community-3.1.7
- rvm: 2
env: NEO4J_URL="bolt://localhost:7472" NEO4J_VERSION=community-3.1.7
- rvm: 2
env: NEO4J_URL="http://localhost:7474" NEO4J_VERSION=community-2.3.11
- rvm: 2
env: NEO4J_URL="http://localhost:7474" NEO4J_VERSION=community-2.1.8
# Older versions of Neo4j with latest version of jRuby
- rvm: jruby-9
env: NEO4J_VERSION=community-2.3.11
# Enterprise
- rvm: 2
env: NEO4J_URL="http://localhost:7474" NEO4J_VERSION=enterprise-3.3.1