<commit_before>sudo: required
dist: xenial

language:
- cpp

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test

before_install:
- sudo apt-get update -q
- sudo apt-get install gcc g++ python libgtest-dev cmake -y
- cd /usr/src/gtest
- sudo cmake .
- sudo make
- sudo mv libg* /usr/lib/

script:
- python waf configure
- python waf debug
- python waf

after_success:
- ./build/debug/bin/unit_test-debug<commit_msg>Added additional script lines to go back to the correct directory after installing gtest libraries.<commit_after>sudo: required
dist: xenial

language:
- cpp

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test

before_install:
- ORIG_DIR=$(pwd)
- sudo apt-get update -q
- sudo apt-get install gcc g++ python libgtest-dev cmake -y
- cd /usr/src/gtest
- sudo cmake .
- sudo make
- sudo mv libg* /usr/lib/
- cd $ORIG_DIR

script:
- python waf configure
- python waf debug
- python waf

after_success:
- ./build/debug/bin/unit_test-debug
{'fraction_non_alphanumeric': 0.10822060353798127, 'fraction_numerical': 0.0, 'mean_word_length': 3.128755364806867, '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': '701985', 'n_tokens_mistral': 369, 'n_tokens_neox': 347, 'n_words': 106}