<commit_before>cache:
  directories:
  - resources
  - node_modules

before_install:
  - brew unlink node
  - brew update
  - brew install homebrew/versions/node4-lts
  - brew install wine

script:
  - npm install
  - npm test
  - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && npm run integration || false'

after_script:
  - echo $MAC_KEY_CONTENT > mac_key_content.hex && xxd -p -r mac_key_content.hex ~/Library/Keychains/keychain.keychain && rm mac_key_content.hex
  - security unlock-keychain -p "$MAC_KEY_SECRET" ~/Library/Keychains/keychain.keychain
  - npm run release

os:
  - osx<commit_msg>Travis: temporarily remove wine<commit_after>cache:
  directories:
  - resources
  - node_modules

before_install:
  - brew unlink node
  - brew update
  - brew install homebrew/versions/node4-lts

script:
  - npm install
  - npm test
  - '[ "${TRAVIS_PULL_REQUEST}" = "false" ] && npm run integration || false'

after_script:
  - echo $MAC_KEY_CONTENT > mac_key_content.hex && xxd -p -r mac_key_content.hex ~/Library/Keychains/keychain.keychain && rm mac_key_content.hex
  - security unlock-keychain -p "$MAC_KEY_SECRET" ~/Library/Keychains/keychain.keychain
  - security list-keychains
  - security default-keychain -s ~/Library/Keychains/keychain.keychain
  - npm run release

os:
  - osx
{'fraction_non_alphanumeric': 0.11188811188811189, 'fraction_numerical': 0.001554001554001554, 'mean_word_length': 3.6, 'pattern_counts': {'":': 0, '<': 3, '<?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': '4169406', 'n_tokens_mistral': 464, 'n_tokens_neox': 450, 'n_words': 101}