<commit_before>language: cpp

compiler:
    - gcc

install:
    - curl http://www.lua.org/ftp/lua-5.1.5.tar.gz | tar xz
    - mv lua-5.1.5 lua
    - cd lua
    - make linux
    - make INSTALL_TOP=$TRAVIS_BUILD_DIR/install/lua install

before_script:
    - export LUA_DIR=$TRAVIS_BUILD_DIR/install/lua
    - cmake tests/CMakeLists.txt
    - make
    - cd ..

script:
    - export PATH=$PATH:$TRAVIS_BUILD_DIR/install/lua
    - luax-tests<commit_msg>Fix travis script<commit_after>language: cpp

compiler:
    - gcc

install:
    - curl http://www.lua.org/ftp/lua-5.1.5.tar.gz | tar xz
    - mv lua-5.1.5 lua
    - cd lua
    - make linux
    - make INSTALL_TOP=$TRAVIS_BUILD_DIR/install/lua install
    - cd ..

before_script:
    - export LUA_DIR=$TRAVIS_BUILD_DIR/install/lua
    - cmake tests/CMakeLists.txt
    - make

script:
    - export PATH=$PATH:$TRAVIS_BUILD_DIR/install/lua
    - luax-tests
{'fraction_non_alphanumeric': 0.12222222222222222, 'fraction_numerical': 0.013333333333333334, 'mean_word_length': 2.3745318352059925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '3037979', 'n_tokens_mistral': 372, 'n_tokens_neox': 353, 'n_words': 61}