<commit_before>language: c

sudo: false

env:
  global:
    - LUAROCKS=2.3.0
  matrix:
    - LUA=lua5.1
#    - LUA=lua5.2
#    - LUA=lua5.3
    - LUA=luajit     # latest stable version (2.0.4)
    - LUA=luajit2.0  # current head of 2.0 branch
    - LUA=luajit2.1  # current head of 2.1 branch

before_install:
  - source .travis/setenv_lua.sh
  - luarocks install luacov-coveralls --server=https://luarocks.org/dev
  - luarocks install busted

install:
  - luarocks make rockspecs/nginx-metrix-local-1.rockspec

script:
  - busted

after_success:
  - luacov-coveralls -v

notifications:
  email:
    on_success: change
    on_failure: always<commit_msg>minor imrovements in travis<commit_after>language: c

sudo: false

env:
  global:
    - LUAROCKS=2.3.0
  matrix:
    - LUA=lua5.1
#    - LUA=lua5.2
#    - LUA=lua5.3
    - LUA=luajit     # latest stable version (2.0.4)
    - LUA=luajit2.0  # current head of 2.0 branch
    - LUA=luajit2.1  # current head of 2.1 branch

before_install:
  - source .travis/setenv_lua.sh
  - luarocks show busted || luarocks install busted
  - luarocks show luacov || luarocks install luacov
  - luarocks show luacov-coveralls || luarocks install luacov-coveralls
  - luarocks show luacheck || luarocks install luacheck

install:
  - luarocks make rockspecs/nginx-metrix-local-1.rockspec --local

script:
#  - luacheck --std max+busted nginx-metrix tests
  - busted

after_success:
  - luacov-coveralls -v

notifications:
  email:
    on_success: change
    on_failure: always
{'fraction_non_alphanumeric': 0.10397350993377484, 'fraction_numerical': 0.02781456953642384, 'mean_word_length': 2.8253164556962025, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '2787544', 'n_tokens_mistral': 615, 'n_tokens_neox': 605, 'n_words': 131}