<commit_before>language: generic

os:
  - linux
  - osx
dist: bionic

addons:
  apt:
    sources:
      - sourceline: "ppa:ansible/ansible"
    packages:
      - python
      - python-pip
      - ansible
  homebrew:
    packages:
      - ansible

env:
  - PATH=$PATH:$HOME/.gem/ruby/2.4.0/bin

before_install:
  - cp inventory.ci inventory
  - cp extra_vars.yml.sample extra_vars.yml
  - sed -Ei.bk "s/^(docker.) true/\1 false/" extra_vars.yml
  - sed -Ei.bk "s/^(ruby.) true/\1 false/" extra_vars.yml
  - echo "[defaults]" > ansible.cfg
  - echo "callback_whitelist = profile_tasks" >> ansible.cfg
  - ansible --version
  # lots of cask installs seems to fail on CI.
  - "echo 'homebrew_cask_package_list: \n' >> extra_vars.yml"
  - "echo '  - visual-studio-code\n' >> extra_vars.yml"
  - "echo 'homebrew_package_list: \n' >> extra_vars.yml"
  - "echo '  - wget\n' >> extra_vars.yml"
  - "echo '  - tmux\n' >> extra_vars.yml"

install:
  # try to upgrade ansible
  - if [[ "OS" = "MacOS" ]]; then brew upgrade ansible; fi

script:
  - if [[ "OS" != "MacOS" ]]; then ansible-playbook -i inventory --extra-vars @extra_vars.yml -vvv dev-vm.yaml; fi
  - if [[ "OS" = "MacOS" ]]; travis_wait 30 ansible-playbook -i inventory --extra-vars @extra_vars.yml -vvv dev-vm.yaml; fi<commit_msg>Try to resolve ansible.plugins.filter issue; os check.<commit_after>language: generic

os:
  - linux
  - osx
dist: bionic

addons:
  apt:
    sources:
      - sourceline: "ppa:ansible/ansible"
    packages:
      - python
      - python-pip
      - ansible
  homebrew:
    packages:
      - ansible

env:
  - PATH=$PATH:$HOME/.gem/ruby/2.4.0/bin

before_install:
  - cp inventory.ci inventory
  - cp extra_vars.yml.sample extra_vars.yml
  - sed -Ei.bk "s/^(docker.) true/\1 false/" extra_vars.yml
  - sed -Ei.bk "s/^(ruby.) true/\1 false/" extra_vars.yml
  - echo "[defaults]" > ansible.cfg
  - echo "callback_whitelist = profile_tasks" >> ansible.cfg
  - ansible --version
  # lots of cask installs seems to fail on CI.
  - "echo 'homebrew_cask_package_list: \n' >> extra_vars.yml"
  - "echo '  - visual-studio-code\n' >> extra_vars.yml"
  - "echo 'homebrew_package_list: \n' >> extra_vars.yml"
  - "echo '  - wget\n' >> extra_vars.yml"
  - "echo '  - tmux\n' >> extra_vars.yml"
  - env

install:
  # try to upgrade ansible
  - if [[ "OS" = "MacOS" ]]; then brew upgrade ansible; fi

script:
  - if [[ "OS" != "MacOS" ]]; then ansible-playbook -i inventory --extra-vars @extra_vars.yml -vvv dev-vm.yaml; fi
  - if [[ "OS" = "MacOS" ]]; travis_wait 30 ansible-playbook -i inventory --extra-vars @extra_vars.yml -vvv dev-vm.yaml; fi
{'fraction_non_alphanumeric': 0.1580558744737849, 'fraction_numerical': 0.005357826253348641, 'mean_word_length': 2.6973125884016973, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 29, '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': '852787', 'n_tokens_mistral': 1057, 'n_tokens_neox': 1000, 'n_words': 234}