<commit_before>language: c

env:
  global:
    - LUAROCKS=2.2.0
  matrix:
    - LUA=lua5.1
    - LUA=lua5.2
    - LUA=lua5.3
    - LUA=luajit

before_install:
  - sudo apt-get update
  - bash .travis/setup_lua.sh
  - bash .travis/install_rote.sh
  - bash .travis/install_rocks.sh
  - luarocks path > paths
  - echo 'PATH=$PATH:~/.luarocks/bin' >> paths
  - . paths

install:
  - luarocks make --local

script:
  - mv src _src
  - LOAD_LUACOV=-lluacov busted
  - busted -c
  - mv _src src

after_success:
  - luacov-coveralls -v<commit_msg>travis: replace ~/.luarocks in luacov.stats.out<commit_after>language: c

env:
  global:
    - LUAROCKS=2.2.0
  matrix:
    - LUA=lua5.1
    - LUA=lua5.2
    - LUA=lua5.3
    - LUA=luajit

before_install:
  - sudo apt-get update
  - bash .travis/setup_lua.sh
  - bash .travis/install_rote.sh
  - bash .travis/install_rocks.sh
  - luarocks path > paths
  - echo 'PATH=$PATH:~/.luarocks/bin' >> paths
  - . paths

install:
  - luarocks make --local

script:
  - mv src _src
  - LOAD_LUACOV=-lluacov busted
  - busted -c
  - sed 's@:.*/alnbox/@:.//src/alnbox/@' -i luacov.stats.out
  - mv _src src

after_success:
  - luacov-coveralls -v
{'fraction_non_alphanumeric': 0.13981244671781756, 'fraction_numerical': 0.015345268542199489, 'mean_word_length': 2.3163841807909606, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '2672142', 'n_tokens_mistral': 538, 'n_tokens_neox': 525, 'n_words': 97}