<commit_before>before_script:
  - "bin/rake neo4j:install[$NEO4J_VERSION] --trace"
  - "bin/rake neo4j:config[development,7474] --trace"
  - "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
jdk: oraclejdk8
rvm:
  - 2.3.1
  - 2.2.5
  - jruby-9.0.5.0
env:
  global:
    - JRUBY_OPTS="-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.1.2
matrix:
  include:
    - rvm: 2.3.1
      jdk:
      before_script:
      script: "bundle exec rubocop"
      env: "RUBOCOP=true"

    # Testing bolt
    - rvm: 2.3.1
      env: NEO4J_URL="bolt://localhost:7472" NEO4J_VERSION=community-3.0.9

    # Older versions of Neo4j with latest version of Ruby
    - rvm: 2.3.1
      env: NEO4J_VERSION=community-3.0.9
    - rvm: 2.3.1
      env: NEO4J_VERSION=community-2.3.9
    - rvm: 2.3.1
      env: NEO4J_VERSION=community-2.2.10
    - rvm: 2.3.1
      env: NEO4J_VERSION=community-2.1.8

    # Older versions of Neo4j with latest version of jRuby
    - rvm: jruby-9.0.5.0
      env: NEO4J_VERSION=community-3.0.9
    - rvm: jruby-9.0.5.0
      env: NEO4J_VERSION=community-2.3.9
    - rvm: jruby-9.0.5.0
      env: NEO4J_VERSION=community-2.2.10
    - rvm: jruby-9.0.5.0
      env: NEO4J_VERSION=community-2.1.8

  # Testing bolt, allowing failure for milestone release
  allow_failures:
    - rvm: 2.3.1
      env: NEO4J_URL="bolt://localhost:7472" NEO4J_VERSION=community-3.1.2


<commit_msg>adding more builds to the matrix<commit_after>before_script:
  - "bin/rake neo4j:install[$NEO4J_VERSION] --trace"
  - "bin/rake neo4j:config[development,7474] --trace"
  - "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
jdk: oraclejdk8
rvm:
  - 2.3.1
  - 2.2.5
  - jruby-9.0.5.0
env:
  global:
    - JRUBY_OPTS="-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.1.2
matrix:
  include:
    - rvm: 2.3.1
      jdk:
      before_script:
      script: "bundle exec rubocop"
      env: "RUBOCOP=true"

    # Testing bolt
    - rvm: 2.3.1
      env: NEO4J_URL="bolt://localhost:7472" NEO4J_VERSION=community-3.0.9
    - rvm: 2.3.1
      env: NEO4J_URL="bolt://localhost:7472" NEO4J_VERSION=community-3.1.2

    # Older versions of Neo4j with latest version of Ruby
    - rvm: 2.3.1
      env: NEO4J_VERSION=community-3.0.9
    - rvm: 2.3.1
      env: NEO4J_VERSION=community-2.3.9
    - rvm: 2.3.1
      env: NEO4J_VERSION=community-2.2.10
    - rvm: 2.3.1
      env: NEO4J_VERSION=community-2.1.8

    # Older versions of Neo4j with latest version of jRuby
    - rvm: jruby-9.0.5.0
      env: NEO4J_VERSION=community-3.0.9
    - rvm: jruby-9.0.5.0
      env: NEO4J_VERSION=community-2.3.9
    - rvm: jruby-9.0.5.0
      env: NEO4J_VERSION=community-2.2.10
    - rvm: jruby-9.0.5.0
      env: NEO4J_VERSION=community-2.1.8

    # Latest
    - rvm: 2.3.1
      env: NEO4J_URL="http://localhost:7474" NEO4J_VERSION=community-3.2.1
    - rvm: 2.3.1
      env: NEO4J_URL="bolt://localhost:7472" NEO4J_VERSION=community-3.2.1
{'fraction_non_alphanumeric': 0.15165394402035623, 'fraction_numerical': 0.07786259541984733, 'mean_word_length': 2.7296015180265654, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 10, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1110964', 'n_tokens_mistral': 1859, 'n_tokens_neox': 1714, 'n_words': 270}