<commit_before>language: c
compiler:
- clang
- gcc
sudo: false
script:
- tests/scripts/recursion.pl library/*.c
- tests/scripts/check-generated-files.sh
- tests/scripts/check-doxy-blocks.pl
- tests/scripts/check-names.sh
- cmake -D CMAKE_BUILD_TYPE:String="Check" .
- make
- make test
- programs/test/selftest
- OSSL_NO_DTLS=1 tests/compat.sh
- tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl'
- tests/scripts/test-ref-configs.pl
- tests/scripts/curves.pl
env:
  global:
    secure: "<KEY>

addons:
  coverity_scan:
    project:
      name: "ARMmbed/mbedtls"
    notification_email: <EMAIL>
    build_command_prepend:
    build_command: make<commit_msg>Add valgrind tests on Travis<commit_after>language: c
compiler:
- clang
- gcc
sudo: false
addons:
  apt:
    packages:
    - valgrind
script:
- tests/scripts/recursion.pl library/*.c
- tests/scripts/check-generated-files.sh
- tests/scripts/check-doxy-blocks.pl
- tests/scripts/check-names.sh
- cmake -D CMAKE_BUILD_TYPE:String="Check" .
- make
- make test
- programs/test/selftest
- OSSL_NO_DTLS=1 tests/compat.sh
- tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl'
- tests/scripts/test-ref-configs.pl
- tests/scripts/curves.pl
- make
- make memcheck
- tests/ssl-opt.sh -e '\(DTLS\|SCSV\).*openssl' --memcheck
env:
  global:
    secure: "<KEY>

addons:
  coverity_scan:
    project:
      name: "ARMmbed/mbedtls"
    notification_email: <EMAIL>
    build_command_prepend:
    build_command: make
{'fraction_non_alphanumeric': 0.1436502428868841, 'fraction_numerical': 0.0013879250520471894, 'mean_word_length': 3.3963414634146343, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1484638', 'n_tokens_mistral': 561, 'n_tokens_neox': 550, 'n_words': 96}