<commit_before>HOME=$(dirname $0)
cd $HOME/../..

modules="core web tools"
for module in $modules; do
  echo "====== $module ====="
  cd $module
  # INSTALL    
  mvn install -DskipTests=true
  if [[ "x$EXIT_VAL" != "x0" ]]; then
    exit $EXIT_VAL
  fi 
  
  # TEST
  mvn test
  EXIT_VAL="$?"
  if [[ "x$EXIT_VAL" != "x0" ]]; then
    exit $EXIT_VAL
  fi
  cd ..
done<commit_msg>travis script: added missing var<commit_after>HOME=$(dirname $0)
cd $HOME/../..

modules="core web tools"
for module in $modules; do
  cd $module
  echo "====== INSTALL $module ====="
  mvn install -DskipTests=true
  EXIT_VAL="$?"    
  if [[ "x$EXIT_VAL" != "x0" ]]; then
    exit $EXIT_VAL
  fi 
  
  echo "====== TEST $module ====="
  mvn test
  EXIT_VAL="$?"
  if [[ "x$EXIT_VAL" != "x0" ]]; then
    exit $EXIT_VAL
  fi
  cd ..
done
{'fraction_non_alphanumeric': 0.19828641370869032, 'fraction_numerical': 0.0073439412484700125, 'mean_word_length': 2.9326923076923075, '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': '4594826', 'n_tokens_mistral': 334, 'n_tokens_neox': 333, 'n_words': 86}