<commit_before>dist: xenial

sudo: required

language: python

python:
  - "3.6"
  - "3.7"
  - "3.8"

before_install:
  - which python
  - which pip
  - pip install -U setuptools

install:
  - pip install .
  - pip install -r requirements-dev.txt
  - pip install keyrings.alt>=3.1

script:
  - set -e
  - coverage run --source pgcli -m py.test
  - cd tests
  - behave --no-capture
  - cd ..
  # check for changelog ReST compliance
  - rst2html.py --halt=warning changelog.rst >/dev/null
  # check for black code compliance, 3.6 only
  - if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then pip install black && black --check . ; else echo "Skipping black for $TRAVIS_PYTHON_VERSION"; fi
  - set +e

after_success:
  - coverage combine
  - codecov

notifications:
  webhooks:<commit_msg>disable cache for pip install.<commit_after>dist: xenial

sudo: required

language: python

python:
  - "3.6"
  - "3.7"
  - "3.8"

before_install:
  - which python
  - which pip
  - pip install -U setuptools

install:
  - pip install --no-cache-dir .
  - pip install -r requirements-dev.txt
  - pip install keyrings.alt>=3.1

script:
  - set -e
  - coverage run --source pgcli -m py.test
  - cd tests
  - behave --no-capture
  - cd ..
  # check for changelog ReST compliance
  - rst2html.py --halt=warning changelog.rst >/dev/null
  # check for black code compliance, 3.6 only
  - if [[ "$TRAVIS_PYTHON_VERSION" == "3.6" ]]; then pip install black && black --check . ; else echo "Skipping black for $TRAVIS_PYTHON_VERSION"; fi
  - set +e

after_success:
  - coverage combine
  - codecov

notifications:
  webhooks:
{'fraction_non_alphanumeric': 0.12343358395989974, 'fraction_numerical': 0.016290726817042606, 'mean_word_length': 2.654462242562929, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '1910133', 'n_tokens_mistral': 589, 'n_tokens_neox': 584, 'n_words': 170}