<commit_before>language: python
python:
        - "3.6"

before_install:
  - deactivate  # Deactivate virtualenv
  - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH=/home/travis/miniconda/bin:$PATH
install:
  - conda create -q -y -n magnics-test -c conda-forge python=$TRAVIS_PYTHON_VERSION fenics pytest
  - source activate magnics-test

# command to run tests
script:
  - py.test<commit_msg>Run docs notebooks on Travis<commit_after>language: python
python:
        - "3.6"

before_install:
  - deactivate  # Deactivate virtualenv
  - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
  - bash miniconda.sh -b -p $HOME/miniconda
  - export PATH=/home/travis/miniconda/bin:$PATH
install:
  - conda create -q -y -n magnics-test -c conda-forge python=$TRAVIS_PYTHON_VERSION fenics pytest nbval
  - source activate magnics-test

# command to run tests
script:
  - py.test
  - PYTHONPATH=$TRAVIS_BUILD_DIR py.test --nbval-lax docs/
{'fraction_non_alphanumeric': 0.11359404096834265, 'fraction_numerical': 0.01303538175046555, 'mean_word_length': 3.4605809128630707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '5721668', 'n_tokens_mistral': 419, 'n_tokens_neox': 403, 'n_words': 88}