<commit_before>---
language: objective-c

before_install:
- brew update

install:
- sudo pip install ansible --quiet
- gem install json
- gem install CFPropertyList

before_script:
- cp tests/stack.yml ~/.stack.yml
- cp tests/galaxy.yml ~/.galaxy.yml

script:
- bash <(curl -s curl -L https://raw.githubusercontent.com/poetic/short-stack/master/install.sh) --skip-short-stack
- bash short-stack
- >
  short-stack
  | grep -q 'changed=0.*failed=0'
  && (echo 'Idempotence test: pass' && exit 0)
  || (echo 'Idempotence test: fail' && exit 1)

notifications:
  slack:
    secure: cfIOs3ZEoPd0JSRGvkNIWOy55Z8GnRpMHokhGbYtQVxS2RiDE5HeV75E5qv/sxrwcEdNq1okbym4B/ZzK/68zHfhc96Es9uR3xQXtQnrtb5fsrKyuuuV6anJiPP2Lzf+/NEMeUN3r8nbJdLOxkzqxhS0Qc4qVZY6hFP5hPC8/jA=<commit_msg>run short-stack twice in travis to see which ones are not idempotent<commit_after>---
language: objective-c

before_install:
- brew update

install:
- sudo pip install ansible --quiet
- gem install json
- gem install CFPropertyList

before_script:
- cp tests/stack.yml ~/.stack.yml
- cp tests/galaxy.yml ~/.galaxy.yml

script:
- bash <(curl -s curl -L https://raw.githubusercontent.com/poetic/short-stack/master/install.sh) --skip-short-stack
- bash short-stack
- bash short-stack
- >
  short-stack
  | grep -q 'changed=0.*failed=0'
  && (echo 'Idempotence test: pass' && exit 0)
  || (echo 'Idempotence test: fail' && exit 1)

notifications:
  slack:
    secure: <KEY>
{'fraction_non_alphanumeric': 0.129979035639413, 'fraction_numerical': 0.025157232704402517, 'mean_word_length': 3.9550173010380623, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '1812792', 'n_tokens_mistral': 611, 'n_tokens_neox': 576, 'n_words': 122}