<commit_before>language: python
os: linux

cache: pip

install:
  - curl -Os https://raw.githubusercontent.com/Seravo/gnitpick/master/gnitpick.py
  - pip install ansible

script:
  # Abort immediately if one step fails
  # https://github.com/travis-ci/travis-ci/issues/1066#issuecomment-32415710
  - set -e

  # Run our custom Git commit checks
  - python3 ./gnitpick.py

  - ansible-playbook --syntax-check -i hosts/development site.yml<commit_msg>Force Gnitpick to check against latest upstream master<commit_after>language: python
os: linux

cache: pip

install:
  - curl -Os https://raw.githubusercontent.com/Seravo/gnitpick/master/gnitpick.py
  - pip install ansible

script:
  # Abort immediately if one step fails
  # https://github.com/travis-ci/travis-ci/issues/1066#issuecomment-32415710
  - set -e

  # Run our custom Git commit checks
  - python3 ./gnitpick.py --target-repository https://github.com/seravo/wp-palvelu-vagrant.git

  - ansible-playbook --syntax-check -i hosts/development site.yml
{'fraction_non_alphanumeric': 0.1111111111111111, 'fraction_numerical': 0.025793650793650792, 'mean_word_length': 3.565610859728507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, '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': '6454462', 'n_tokens_mistral': 363, 'n_tokens_neox': 339, 'n_words': 80}