<commit_before>language: node_js
node_js:
- '6'

env:
  global:
    DB_TEST_CONNECTION: "postgresql://rratest:rratest@localhost:5432/rratest"
    STORAGE_TEST_ENGINE: "minio"
    STORAGE_TEST_ACCESS_KEY: "minio"
    STORAGE_TEST_SECRET_KEY: "miniostorageengine"
    STORAGE_TEST_BUCKET: "rra-test"
    STORAGE_TEST_REGION: "us-east-1"

cache:
  apt: true
  directories:
  - node_modules

services:
  - docker

before_script:
  - sudo /etc/init.d/postgresql stop
  - docker-compose up -d

script:
  - npm test
<commit_msg>Setup db and storage for travis<commit_after>language: node_js
node_js:
- '6'

env:
  global:
    DB_TEST_CONNECTION: "postgresql://rratest:rratest@localhost:5432/rratest"
    STORAGE_TEST_ENGINE: "minio"
    STORAGE_TEST_ACCESS_KEY: "minio"
    STORAGE_TEST_SECRET_KEY: "miniostorageengine"
    STORAGE_TEST_BUCKET: "rra-test"
    STORAGE_TEST_REGION: "us-east-1"

cache:
  apt: true
  directories:
  - node_modules

services:
  - docker

before_script:
  - sudo /etc/init.d/postgresql stop
  - docker-compose up -d
  - DS_ENV=test npm run setup -- --db --bucket

script:
  - npm test

{'fraction_non_alphanumeric': 0.10659439927732611, 'fraction_numerical': 0.01084010840108401, 'mean_word_length': 3.7965367965367967, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '1910305', 'n_tokens_mistral': 472, 'n_tokens_neox': 458, 'n_words': 81}