<commit_before>language: C

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test

matrix:
  include:
    - os: linux
      sudo: true
      install:
        - if [ ! -d "$HOME/miniconda/bin" ]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh && bash miniconda.sh -f -b -p $HOME/miniconda; fi
        - export PATH="$HOME/miniconda/bin:$PATH"
        - hash -r
        - conda config --set always_yes yes --set changeps1 no
        - conda create -q -n rnftools -c bioconda "python>=3" wgsim dwgsim art mason pysam samtools curesim snakemake git setuptools
        - source activate rnftools
        #- conda update --all
        - pip install .

    - os: osx
      install:
        - if [ ! -d "$HOME/miniconda/bin" ]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh && bash miniconda.sh -f -b -p $HOME/miniconda; fi
        - export PATH="$HOME/miniconda/bin:$PATH"
        - hash -r
        - conda config --set always_yes yes --set changeps1 no
        - conda create -q -n rnftools -c bioconda "python>=3" wgsim dwgsim art mason pysam samtools curesim snakemake git setuptools
        - source activate rnftools
        #- conda update --all
        - pip install .

before_script:
- git clone git://github.com/sstephenson/bats $PWD/bats
- export PATH=$PATH:$PWD/bats/bin

script:
- make -C tests
- make -C examples<commit_msg>Install bwa during travis testing<commit_after>language: C

addons:
  apt:
    sources:
    - ubuntu-toolchain-r-test

matrix:
  include:
    - os: linux
      sudo: true
      install:
        - if [ ! -d "$HOME/miniconda/bin" ]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh && bash miniconda.sh -f -b -p $HOME/miniconda; fi
        - export PATH="$HOME/miniconda/bin:$PATH"
        - hash -r
        - conda config --set always_yes yes --set changeps1 no
        - conda create -q -n rnftools -c bioconda "python>=3" wgsim dwgsim art mason pysam samtools curesim snakemake git setuptools bwa
        - source activate rnftools
        #- conda update --all
        - pip install .

    - os: osx
      install:
        - if [ ! -d "$HOME/miniconda/bin" ]; then wget https://repo.continuum.io/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O miniconda.sh && bash miniconda.sh -f -b -p $HOME/miniconda; fi
        - export PATH="$HOME/miniconda/bin:$PATH"
        - hash -r
        - conda config --set always_yes yes --set changeps1 no
        - conda create -q -n rnftools -c bioconda "python>=3" wgsim dwgsim art mason pysam samtools curesim snakemake git setuptools bwa
        - source activate rnftools
        #- conda update --all
        - pip install .

before_script:
- git clone git://github.com/sstephenson/bats $PWD/bats
- export PATH=$PATH:$PWD/bats/bin

script:
- make -C tests
- make -C examples
{'fraction_non_alphanumeric': 0.11740331491712708, 'fraction_numerical': 0.009668508287292817, 'mean_word_length': 2.2587176602924632, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, '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': '557195', 'n_tokens_mistral': 1059, 'n_tokens_neox': 1030, 'n_words': 277}