<commit_before>#=========================================================================
# TravisCI Setup
#=========================================================================

# Force TravisCI to use new container-based infrastructure

sudo: false

#------------------------------------------------------------------------
# language and build matrix
#------------------------------------------------------------------------

language: python
python:
 - "2.7"

env:
 - CONFIG=""
 - CONFIG="--test-verilog"
 - CONFIG="--dump-vcd"

#------------------------------------------------------------------------
# install dependencies
#------------------------------------------------------------------------

install:

 # Install verilator

 - git clone https://github.com/cornell-brg/verilator-travisci-cache.git
 - tar xfz verilator-travisci-cache/verilator-travis-3.876.tar.gz
 - export VERILATOR_ROOT=$PWD/verilator-3.876
 - export PATH=$VERILATOR_ROOT/bin:$PATH
 - export PYMTL_VERILATOR_INCLUDE_DIR=$VERILATOR_ROOT/include
 - verilator --version

 # Install Python requirements

 - pip install --editable .
 - pip list

#------------------------------------------------------------------------
# before test runner
#------------------------------------------------------------------------

before_script:

 # Make build directory

 - mkdir -p build
 - cd build

#------------------------------------------------------------------------
# test runner
#------------------------------------------------------------------------

script:
 - py.test .. $CONFIG
<commit_msg>Add systemc installation to travis CI<commit_after>#=========================================================================
# TravisCI Setup
#=========================================================================

# Force TravisCI to use new container-based infrastructure

sudo: false

#------------------------------------------------------------------------
# language and build matrix
#------------------------------------------------------------------------

language: python
python:
 - "2.7"

env:
 - CONFIG=""
 - CONFIG="--test-verilog"
 - CONFIG="--dump-vcd"

#------------------------------------------------------------------------
# install dependencies
#------------------------------------------------------------------------

install:

 # Install verilator

 - git clone https://github.com/cornell-brg/verilator-travisci-cache.git
 - tar xfz verilator-travisci-cache/verilator-travis-3.876.tar.gz
 - export VERILATOR_ROOT=$PWD/verilator-3.876
 - export PATH=$VERILATOR_ROOT/bin:$PATH
 - export PYMTL_VERILATOR_INCLUDE_DIR=$VERILATOR_ROOT/include
 - verilator --version
 
 # Install systemc
 
 - git clone https://github.com/cornell-brg/systemc-travisci-cache.git
 - tar xfz systemc-travisci-cache/systemc-travis-2.3.1.tar.gz
 - export SYSTEMC_ROOT=$PWD/systemc-2.3.1
 - export SYSTEMC_INCLUDE=$SYSTEMC_ROOT/include
 - export SYSTEMC_LIBDIR=$SYSTEMC_ROOT/lib-linux64

 # Install Python requirements

 - pip install --editable .
 - pip list

#------------------------------------------------------------------------
# before test runner
#------------------------------------------------------------------------

before_script:

 # Make build directory

 - mkdir -p build
 - cd build

#------------------------------------------------------------------------
# test runner
#------------------------------------------------------------------------

script:
 - py.test .. $CONFIG

{'fraction_non_alphanumeric': 0.4874531295067782, 'fraction_numerical': 0.008076146524372656, 'mean_word_length': 1.1647940074906367, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '2163287', 'n_tokens_mistral': 813, 'n_tokens_neox': 750, 'n_words': 155}