<commit_before>language: cpp
compiler: gcc
os: linux

before_install:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq

install:
  # install g++ 4.8, if tests are run with g++
  - sudo apt-get install -qq g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
  - sudo apt-get install -qq
  - sudo apt-get install libglu1-mesa-dev
  - sudo apt-get install xorg-dev

script:
    - python oryol select linux-make-unittests-debug
    - python oryol rebuild
    - python oryol make RUN_TESTS
<commit_msg>travis: run unittests in headless mode<commit_after>language: cpp
compiler: gcc
os: linux

before_install:
  - sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
  - sudo apt-get update -qq

install:
  # install g++ 4.8, if tests are run with g++
  - sudo apt-get install -qq g++-4.8
  - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 50
  - sudo apt-get install -qq
  - sudo apt-get install libglu1-mesa-dev
  - sudo apt-get install xorg-dev

script:
    - python oryol select linux-make-unittests-debug
    - cd build/linux-make-unittests-debug
    - cmake -DORYOL_UNITTESTS_HEADLESS=ON ../..
    - cd ../..
    - python oryol rebuild
    - python oryol make RUN_TESTS

{'fraction_non_alphanumeric': 0.12341772151898735, 'fraction_numerical': 0.014240506329113924, 'mean_word_length': 2.7205882352941178, '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': '2422957', 'n_tokens_mistral': 503, 'n_tokens_neox': 467, 'n_words': 132}