<commit_before>language: c

#dist: trusty
sudo: false
addons:
  apt:
    update: true
    packages:
    - realpath
    - autoconf
    - automake
    - build-essential
    - gperf
    - libftdi-dev
    - libudev-dev
    - libudev1
    - libusb-1.0-0-dev
    - libusb-dev
    - texinfo

before_install:
 - source $TRAVIS_BUILD_DIR/.travis/common.sh
 - bash $TRAVIS_BUILD_DIR/.travis/fixup-git.sh
 - source $TRAVIS_BUILD_DIR/.travis/common.sh

install:
 - ./.travis/install.sh

env:
  # lm32 toolchain
  - PACKAGE=binutils            TOOLCHAIN_ARCH=lm32
  - PACKAGE=gcc/nostdc          TOOLCHAIN_ARCH=lm32
  - PACKAGE=gcc/newlib          TOOLCHAIN_ARCH=lm32
  - PACKAGE=gdb                 TOOLCHAIN_ARCH=lm32
  # or1k toolchain
  - PACKAGE=binutils            TOOLCHAIN_ARCH=or1k
  - PACKAGE=gcc/nostdc          TOOLCHAIN_ARCH=or1k
  - PACKAGE=gcc/newlib          TOOLCHAIN_ARCH=or1k
  - PACKAGE=gdb                 TOOLCHAIN_ARCH=or1k
  # riscv32 toolchain
  - PACKAGE=binutils            TOOLCHAIN_ARCH=riscv32
  - PACKAGE=gcc/nostdc          TOOLCHAIN_ARCH=riscv32
  - PACKAGE=gcc/newlib          TOOLCHAIN_ARCH=riscv32
  # sh2 toolchain
  - PACKAGE=binutils            TOOLCHAIN_ARCH=sh2
  # fx2 toolchain
  - PACKAGE=sdcc
  # tools
  - PACKAGE=openocd
  - PACKAGE=flterm
  # verilog tools
  - PACKAGE=arachne-pnr
  - PACKAGE=icestorm
  - PACKAGE=iverilog
  - PACKAGE=nextpnr
  - PACKAGE=verilator
  - PACKAGE=vtr                 CONDA_CHANNELS=conda-forge
  - PACKAGE=yosys

script:
  - bash $TRAVIS_BUILD_DIR/.travis/script.sh

after_failure:
  - bash $TRAVIS_BUILD_DIR/.travis/after_failure.sh

after_success:
  - bash $TRAVIS_BUILD_DIR/.travis/after_success.sh
<commit_msg>travis: Allow vtr to fail for now.<commit_after>language: c

#dist: trusty
sudo: false
addons:
  apt:
    update: true
    packages:
    - realpath
    - autoconf
    - automake
    - build-essential
    - gperf
    - libftdi-dev
    - libudev-dev
    - libudev1
    - libusb-1.0-0-dev
    - libusb-dev
    - texinfo

before_install:
 - source $TRAVIS_BUILD_DIR/.travis/common.sh
 - bash $TRAVIS_BUILD_DIR/.travis/fixup-git.sh
 - source $TRAVIS_BUILD_DIR/.travis/common.sh

install:
 - ./.travis/install.sh

env:
  # lm32 toolchain
  - PACKAGE=binutils            TOOLCHAIN_ARCH=lm32
  - PACKAGE=gcc/nostdc          TOOLCHAIN_ARCH=lm32
  - PACKAGE=gcc/newlib          TOOLCHAIN_ARCH=lm32
  - PACKAGE=gdb                 TOOLCHAIN_ARCH=lm32
  # or1k toolchain
  - PACKAGE=binutils            TOOLCHAIN_ARCH=or1k
  - PACKAGE=gcc/nostdc          TOOLCHAIN_ARCH=or1k
  - PACKAGE=gcc/newlib          TOOLCHAIN_ARCH=or1k
  - PACKAGE=gdb                 TOOLCHAIN_ARCH=or1k
  # riscv32 toolchain
  - PACKAGE=binutils            TOOLCHAIN_ARCH=riscv32
  - PACKAGE=gcc/nostdc          TOOLCHAIN_ARCH=riscv32
  - PACKAGE=gcc/newlib          TOOLCHAIN_ARCH=riscv32
  # sh2 toolchain
  - PACKAGE=binutils            TOOLCHAIN_ARCH=sh2
  # fx2 toolchain
  - PACKAGE=sdcc
  # tools
  - PACKAGE=openocd
  - PACKAGE=flterm
  # verilog tools
  - PACKAGE=arachne-pnr
  - PACKAGE=icestorm
  - PACKAGE=iverilog
  - PACKAGE=nextpnr
  - PACKAGE=verilator
  - PACKAGE=vtr                 CONDA_CHANNELS=conda-forge
  - PACKAGE=yosys

matrix:
  allow_failures:
  - env: PACKAGE=vtr CONDA_CHANNELS=conda-forge
  fast_finish: true

script:
  - bash $TRAVIS_BUILD_DIR/.travis/script.sh

after_failure:
  - bash $TRAVIS_BUILD_DIR/.travis/after_failure.sh

after_success:
  - bash $TRAVIS_BUILD_DIR/.travis/after_success.sh

{'fraction_non_alphanumeric': 0.08981001727115717, 'fraction_numerical': 0.017271157167530225, 'mean_word_length': 2.410206084396467, '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': '6360719', 'n_tokens_mistral': 1456, 'n_tokens_neox': 1409, 'n_words': 191}