<commit_before>language: c

cache:
  apt: true
  directories:
    - mk/.cache

env:
  global:
    # Encrypted COVERITY_SCAN_TOKEN
    - secure: <KEY>    - AUTOQEMU_NICS=''
    - AUTOQEMU_NICS=''
  matrix:
    - TEMPLATE=arm/qemu
    - TEMPLATE=x86/qemu

before_install:
  - sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
  - sudo apt-get update -qq

# TODO make it template-specific
install:
  - sudo apt-get install -qq gcc-arm-none-eabi
  - sudo apt-get install -qq gcc-multilib
  - sudo apt-get install -qq u-boot-tools
  - sudo apt-get install -qq qemu qemu-system

before_script:
  - make confload-"$TEMPLATE"
  - sed -ie '/eth0/d' conf/start_script.inc  # FIXME
  - make buildgen  # Make as much as possible before the actual build step.

script:
  - if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then make && ./scripts/continuous/run.sh "$TEMPLATE"; fi

addons:
  coverity_scan:
    project:
      name: "embox/embox"
      description: "Build submitted via Travis CI"
    notification_email: <EMAIL>
    build_command: make<commit_msg>travis: coverity: Update secure token<commit_after>language: c

cache:
  apt: true
  directories:
    - mk/.cache

env:
  global:
    # Encrypted COVERITY_SCAN_TOKEN
    - secure: <KEY>
    - AUTOQEMU_NICS=''
  matrix:
    - TEMPLATE=arm/qemu
    - TEMPLATE=x86/qemu

before_install:
  - sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded
  - sudo apt-get update -qq

# TODO make it template-specific
install:
  - sudo apt-get install -qq gcc-arm-none-eabi
  - sudo apt-get install -qq gcc-multilib
  - sudo apt-get install -qq u-boot-tools
  - sudo apt-get install -qq qemu qemu-system

before_script:
  - make confload-"$TEMPLATE"
  - sed -ie '/eth0/d' conf/start_script.inc  # FIXME
  - make buildgen  # Make as much as possible before the actual build step.

script:
  - if [ ${COVERITY_SCAN_BRANCH} != 1 ]; then make && ./scripts/continuous/run.sh "$TEMPLATE"; fi

addons:
  coverity_scan:
    project:
      name: "embox/embox"
      description: "Build submitted via Travis CI"
    notification_email: <EMAIL>
    build_command: make
{'fraction_non_alphanumeric': 0.11376673040152964, 'fraction_numerical': 0.0038240917782026767, 'mean_word_length': 2.91214953271028, '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': '5056670', 'n_tokens_mistral': 795, 'n_tokens_neox': 767, 'n_words': 196}