<commit_before>sudo: required

dist: xenial

language: ruby

rvm: 2.6.5

node_js: 12.13.0

jdk: openjdk8

addons:
  postgresql: 10

before_install:
  - sudo apt-get -qq update
  - sudo rm /usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt
  - sudo update-ca-certificates -f -v
  - sudo apt-get install -y postgresql-10-postgis-2.4 gdal-bin proj-bin libgeos-dev libgeos++-dev libproj-dev ffmpeg
  - psql -U postgres -c "create extension postgis"
  - psql -U postgres -c 'create extension "uuid-ossp"'
  - createdb -O postgres template_postgis
  - psql -U postgres template_postgis -c "UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template_postgis'"
  - export JAVA_HOME='/usr'
  - curl https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.3.1-linux-x86_64.tar.gz | tar xz -C /tmp
  - /tmp/elasticsearch-7.3.1/bin/elasticsearch-keystore create
  - /tmp/elasticsearch-7.3.1/bin/elasticsearch-plugin install analysis-kuromoji
  - /tmp/elasticsearch-7.3.1/bin/elasticsearch -E http.port=9200 -d
  - gem install bundler
  - mkdir -p tmp/pids
  - echo -e "--format documentation\n--color\n--require spec_helper\n--profile\n--tty" > .rspec
  - nvm install 12.13.0<commit_msg>travis defensive fix<commit_after>sudo: required

dist: xenial

language: ruby

rvm: 2.6.5

node_js: 12.13.0

jdk: openjdk8

addons:
  postgresql: 10

before_install:
  - sudo apt-get -qq update
  - sudo rm -f /usr/share/ca-certificates/mozilla/AddTrust_External_Root.crt
  - sudo update-ca-certificates -f -v
  - sudo apt-get install -y postgresql-10-postgis-2.4 gdal-bin proj-bin libgeos-dev libgeos++-dev libproj-dev ffmpeg
  - psql -U postgres -c "create extension postgis"
  - psql -U postgres -c 'create extension "uuid-ossp"'
  - createdb -O postgres template_postgis
  - psql -U postgres template_postgis -c "UPDATE pg_database SET datistemplate = TRUE WHERE datname = 'template_postgis'"
  - export JAVA_HOME='/usr'
  - curl https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-7.3.1-linux-x86_64.tar.gz | tar xz -C /tmp
  - /tmp/elasticsearch-7.3.1/bin/elasticsearch-keystore create
  - /tmp/elasticsearch-7.3.1/bin/elasticsearch-plugin install analysis-kuromoji
  - /tmp/elasticsearch-7.3.1/bin/elasticsearch -E http.port=9200 -d
  - gem install bundler
  - mkdir -p tmp/pids
  - echo -e "--format documentation\n--color\n--require spec_helper\n--profile\n--tty" > .rspec
  - nvm install 12.13.0
{'fraction_non_alphanumeric': 0.12551440329218108, 'fraction_numerical': 0.03292181069958848, 'mean_word_length': 3.2874779541446206, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5026586', 'n_tokens_mistral': 964, 'n_tokens_neox': 926, 'n_words': 204}