<commit_before>language: python

env:
  global:
    - USE_CONDA=false
    - COVERAGE=""

addons:
  firefox: "61.0.1"

matrix:
  include:
    - python: 2.7
      env:
        - PYFLAKES=1
      install:
        - pip install pyflakes
      script:
        - |
          set +e
          SKIP="unable to detect undefined names"
          SKIP="$SKIP|assigned to but never used"
          SKIP="$SKIP|imported but unused"
          SKIP="$SKIP|redefinition of unused"
          SKIP="$SKIP|test/test_repo_template/asv_test_repo/__init__.py"
          SKIP="$SKIP|asv/extern/asizeof.py"
          SKIP="$SKIP|asv/benchmark.py.*undefined name .(run|params)."
          PYFLAKES_NODOCTEST=1 pyflakes asv test | grep -E -v "$SKIP" > test.out; cat test.out; test \! -s test.out

    - python: 3.8-dev
      dist: xenial

    - python: 3.6
      env:
        - USE_CONDA=true
        - COVERAGE="--cov=asv --cov=test"

    - python: pypy3
      dist: xenial

    - python: 2.7

    - python: 3.5

cache:
  directories:
    - $HOME/.cache/pip
    - $HOME/download

before_install:
  - |
    # Install Webdriver backend for Firefox:
    set -e
    mkdir -p $HOME/download
    pushd $HOME/download
    wget -nc https://github.com/mozilla/geckodriver/releases/download/v0.22.0/geckodriver-v0.22.0-linux64.tar.gz
    mkdir $HOME/geckodriver
    tar -xzf geckodriver-v0.22.0-linux64.tar.gz -C $HOME/geckodriver
    popd
    export PATH="$PATH:$HOME/geckodriver"

install:
  - |
    set -e
    export TRAVIS_PYTHON=`which python`
    export TRAVIS_PIP=`which pip`
    if [[ $USE_CONDA == true ]]; then<commit_msg>CI: move cov to py3.8<commit_after>language: python

env:
  global:
    - USE_CONDA=false
    - COVERAGE=""

addons:
  firefox: "61.0.1"

matrix:
  include:
    - python: 2.7
      env:
        - PYFLAKES=1
      install:
        - pip install pyflakes
      script:
        - |
          set +e
          SKIP="unable to detect undefined names"
          SKIP="$SKIP|assigned to but never used"
          SKIP="$SKIP|imported but unused"
          SKIP="$SKIP|redefinition of unused"
          SKIP="$SKIP|test/test_repo_template/asv_test_repo/__init__.py"
          SKIP="$SKIP|asv/extern/asizeof.py"
          SKIP="$SKIP|asv/benchmark.py.*undefined name .(run|params)."
          PYFLAKES_NODOCTEST=1 pyflakes asv test | grep -E -v "$SKIP" > test.out; cat test.out; test \! -s test.out

    - python: 3.8-dev
      dist: xenial
        - COVERAGE="--cov=asv --cov=test"

    - python: 3.6
      env:
        - USE_CONDA=true

    - python: pypy3
      dist: xenial

    - python: 2.7

    - python: 3.5

cache:
  directories:
    - $HOME/.cache/pip
    - $HOME/download

before_install:
  - |
    # Install Webdriver backend for Firefox:
    set -e
    mkdir -p $HOME/download
    pushd $HOME/download
    wget -nc https://github.com/mozilla/geckodriver/releases/download/v0.22.0/geckodriver-v0.22.0-linux64.tar.gz
    mkdir $HOME/geckodriver
    tar -xzf geckodriver-v0.22.0-linux64.tar.gz -C $HOME/geckodriver
    popd
    export PATH="$PATH:$HOME/geckodriver"

install:
  - |
    set -e
    export TRAVIS_PYTHON=`which python`
    export TRAVIS_PIP=`which pip`
    if [[ $USE_CONDA == true ]]; then
{'fraction_non_alphanumeric': 0.12804497189256714, 'fraction_numerical': 0.021236727045596503, 'mean_word_length': 2.1157587548638133, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '702080', 'n_tokens_mistral': 1263, 'n_tokens_neox': 1190, 'n_words': 239}