<commit_before>language: cpp
os:
  - linux
env:
  matrix:
   - NODE_NVM_VERSION="0.11.14"
   - NODE_NVM_VERSION="0.10.33"
before_install:
  # upgrade libstdc++ to support C++11
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -q
  - sudo apt-get install -y libstdc++6
  # install node.js
  - git clone https://github.com/creationix/nvm.git ../.nvm
  - source ../.nvm/nvm.sh
  - nvm install $NODE_NVM_VERSION
  - nvm use $NODE_NVM_VERSION
  - node --version
  - npm --version
script:
  # dependencies
  - npm install
  - npm install tilestrata
  # execute tests
  - make test
  - make test-ci-coverage || exit 0<commit_msg>Fix for travis not reporting errors.<commit_after>language: cpp
os:
  - linux
env:
  matrix:
   - NODE_NVM_VERSION="0.11.14"
   - NODE_NVM_VERSION="0.10.33"
before_install:
  # upgrade libstdc++ to support C++11
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -q
  - sudo apt-get install -y libstdc++6
  # install node.js
  - git clone https://github.com/creationix/nvm.git ../.nvm
  - source ../.nvm/nvm.sh
  - nvm install $NODE_NVM_VERSION
  - nvm use $NODE_NVM_VERSION
  - node --version
  - npm --version
script:
  # dependencies
  - npm install
  - npm install tilestrata
  # execute tests
  - make test && (make test-ci-coverage || true)
{'fraction_non_alphanumeric': 0.12893553223388307, 'fraction_numerical': 0.020239880059970013, 'mean_word_length': 2.7394957983193278, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2696478', 'n_tokens_mistral': 537, 'n_tokens_neox': 503, 'n_words': 123}