<commit_before>language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.6"

install: 
  - pip install . pytest mock codecov==1.5.1 behave pexpect==3.3
  - pip install git+https://github.com/hayd/pep8radius.git

script:
  - coverage run --source pgcli -m py.test
  - cd tests
  - behave
  - cd ..
  # check for pep8 errors, only looking at branch vs master. If there are errors, show diff and return an error code.
  - pep8radius master --docformatter --error-status || ( pep8radius master --docformatter --diff; false )

after_success:
  - coverage combine
  - codecov

notifications:<commit_msg>Fail on first error in travis script.<commit_after>language: python
python:
  - "2.7"
  - "3.3"
  - "3.4"
  - "3.5"
  - "3.6"

install: 
  - pip install . pytest mock codecov==1.5.1 behave pexpect==3.3
  - pip install git+https://github.com/hayd/pep8radius.git

script:
  - set -e
  - coverage run --source pgcli -m py.test
  - cd tests
  - behave
  - cd ..
  # check for pep8 errors, only looking at branch vs master. If there are errors, show diff and return an error code.
  - pep8radius master --docformatter --error-status || ( pep8radius master --docformatter --diff; false )
  - set +e

after_success:
  - coverage combine
  - codecov

notifications:
{'fraction_non_alphanumeric': 0.12854889589905363, 'fraction_numerical': 0.02996845425867508, 'mean_word_length': 2.6153846153846154, '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': '5161214', 'n_tokens_mistral': 462, 'n_tokens_neox': 457, 'n_words': 139}