<commit_before># run on container-based infrastructure
sudo: false

language: python

addons:
    apt:
        packages:
            - gfortran

env:
  global:
    # wradlib-docs
    - secure: "<KEY>W+ybgf4="

matrix:
    include:
    - python: 2.7
      env:
        - PYTHON_VERSION="2.7"
        - COVERALLS="true"
        - DOC_BUILD="true"
    - python: 3.4
      env:
        - PYTHON_VERSION="3.4"
    - python: 3.5
      env:
        - PYTHON_VERSION="3.5"

install:
    - deactivate
    - source scripts/install.sh

before_script:
    - flake8 .
    # convert notebooks, render notebooks
    - export GDAL_DATA=$HOME/miniconda/envs/wradlib/share/gdal
    - export WRADLIB_DATA=$HOME/wradlib-data
    - scripts/process_notebooks.sh

script:
    - xvfb-run -a -w 5 coverage run --source wradlib testrunner.py -u
    - xvfb-run -a -w 5 coverage run --source wradlib testrunner.py -d
    - xvfb-run -a -w 5 coverage run --source wradlib testrunner.py -e
    - xvfb-run -a -w 5 coverage run --source wradlib testrunner.py -n

after_success:<commit_msg>FIX: append coverage data to .coverage on consecutive calls<commit_after># run on container-based infrastructure
sudo: false

language: python

addons:
    apt:
        packages:
            - gfortran

env:
  global:
    # wradlib-docs
    - secure: "<KEY>

matrix:
    include:
    - python: 2.7
      env:
        - PYTHON_VERSION="2.7"
        - COVERALLS="true"
        - DOC_BUILD="true"
    - python: 3.4
      env:
        - PYTHON_VERSION="3.4"
    - python: 3.5
      env:
        - PYTHON_VERSION="3.5"

install:
    - deactivate
    - source scripts/install.sh

before_script:
    - flake8 .
    # convert notebooks, render notebooks
    - export GDAL_DATA=$HOME/miniconda/envs/wradlib/share/gdal
    - export WRADLIB_DATA=$HOME/wradlib-data
    - scripts/process_notebooks.sh

script:
    - xvfb-run -a -w 5 coverage run --source wradlib testrunner.py -u
    - xvfb-run -a -w 5 coverage run -a --source wradlib testrunner.py -d
    - xvfb-run -a -w 5 coverage run -a --source wradlib testrunner.py -e
    - xvfb-run -a -w 5 coverage run -a --source wradlib testrunner.py -n

after_success:
{'fraction_non_alphanumeric': 0.11214087117701575, 'fraction_numerical': 0.016218721037998145, 'mean_word_length': 2.0931232091690544, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5845439', 'n_tokens_mistral': 807, 'n_tokens_neox': 788, 'n_words': 192}