<commit_before>script: make
language: c
os:
  - linux
  - osx
compiler:
  - gcc
  - clang

matrix:
  exclude:
    # gcc is actually clang on OSX, so pointless to test twice
    - os: osx
      compiler: gcc

script:
  # workaround git not retaining mtimes and bison/flex not being uptodate
  - touch conffile.yy.c conffile.tab.c conffile.tab.h
  - ./configure || cat config.log
  - make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" check

env:
  global:
    # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
    #   via the "travis encrypt" command using the project repo's public key
    - secure: "<KEY>

addons:
  coverity_scan:
    project:
      name: "grobian/carbon-c-relay"
      description: "Build submitted via Travis CI"
    notification_email: <EMAIL>
    build_command_prepend: "./configure"
    build_command: "make"
    branch_pattern: master<commit_msg>travis: try and avoid autotools kicking in<commit_after>script: make
language: c
os:
  - linux
  - osx
compiler:
  - gcc
  - clang

matrix:
  exclude:
    # gcc is actually clang on OSX, so pointless to test twice
    - os: osx
      compiler: gcc

script:
  # workaround git not retaining mtimes and bison/flex/auto not being uptodate
  - touch conffile.yy.c conffile.tab.c conffile.tab.h configure Makefile.in
  - ./configure || cat config.log
  - make CFLAGS="-O3 -Wall -Werror -Wshadow -pipe" check

env:
  global:
    # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
    #   via the "travis encrypt" command using the project repo's public key
    - secure: "<KEY>

addons:
  coverity_scan:
    project:
      name: "grobian/carbon-c-relay"
      description: "Build submitted via Travis CI"
    notification_email: <EMAIL>
    build_command_prepend: "./configure"
    build_command: "make"
    branch_pattern: master
{'fraction_non_alphanumeric': 0.08916849015317287, 'fraction_numerical': 0.0010940919037199124, 'mean_word_length': 3.0197802197802197, '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': '7501492', 'n_tokens_mistral': 624, 'n_tokens_neox': 600, 'n_words': 195}