<commit_before>language: cpp
services: mysql
compiler:
  - gcc
before_script:
  # install cpp-coveralls help submit test coverage to coveralls
  - sudo pip install cpp-coveralls
  # setup CasDB
  - mysql -e "CREATE database CasDB;" -u root
  - cd server/CasDB
  - tar -zxvf CasDB.tar.gz
  - mysql -u root CasDB < CasDB_part1.sql
  - mysql -u root CasDB < CasDB_part2.sql
  - mysql -u root CasDB < CasDB_part3.sql
  - mysql -u root CasDB < CasDB_part4.sql
  - mysql -u root CasDB < views.sql
  # setup MySQL driver
  - cd ../
  - wget http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-6.1.5-linux-glibc2.5-x86_64.tar.gz
  - tar -zxvf mysql-connector-c-6.1.5-linux-glibc2.5-x86_64.tar.gz
  - mv mysql-connector-c-6.1.5-linux-glibc2.5-x86_64 mysql-connector
script:
  - cd a
  - make
  - cd ../b 
  - make
  # automated test
  - make test
after_success:
  - coveralls --exclude cJSON --gcov-options '../main' -t 'Rve7lZidL5Jev1qwoW2cfsw7FykVcb29m'
  # show .gcov file
  - cat *.gcov
os:
 - linux<commit_msg>update auto build<commit_after>language: cpp
services: mysql
compiler:
  - gcc
before_script:
  # install cpp-coveralls help submit test coverage to coveralls
  - sudo pip install cpp-coveralls
  # setup CasDB
  - mysql -e "CREATE database CasDB;" -u root
  - cd server/CasDB
  - tar -zxvf CasDB.tar.gz
  - mysql -u root CasDB < CasDB_part1.sql
  - mysql -u root CasDB < CasDB_part2.sql
  - mysql -u root CasDB < CasDB_part3.sql
  - mysql -u root CasDB < CasDB_part4.sql
  - mysql -u root CasDB < views.sql
  # setup MySQL driver
  - cd ../
  - wget http://dev.mysql.com/get/Downloads/Connector-C/mysql-connector-c-6.1.5-linux-glibc2.5-x86_64.tar.gz
  - tar -zxvf mysql-connector-c-6.1.5-linux-glibc2.5-x86_64.tar.gz
  - mv mysql-connector-c-6.1.5-linux-glibc2.5-x86_64 mysql-connector
script:
  - cd a
  - make
  - cd ../b 
  - make install
  - make clean
  - make
  # automated test
  - make test
after_success:
  - coveralls --exclude cJSON --gcov-options '../main' -t 'Rve7lZidL5Jev1qwoW2cfsw7FykVcb29m'
  # show .gcov file
  - cat *.gcov
os:
 - linux
{'fraction_non_alphanumeric': 0.12439729990356799, 'fraction_numerical': 0.03664416586306654, 'mean_word_length': 2.5961871750433274, 'pattern_counts': {'":': 0, '<': 13, '<?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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2788103', 'n_tokens_mistral': 875, 'n_tokens_neox': 842, 'n_words': 197}