<commit_before>language: python
dist: trusty
sudo: required

addons:
  hosts:
    - test_site
    - test_site_producer
  mariadb: 10.3
  postgresql: 9.5

git:
  depth: 1

cache:
  - pip
  - npm
  - yarn

matrix:
  include:
  - name: "Python 3.6 MariaDB"
    python: 3.6
    env: DB=mariadb TYPE=server
    script: bench --site test_site run-tests --coverage

  - name: "Python 3.6 PostgreSQL"
    python: 3.6
    env: DB=postgres TYPE=server
    script: bench --site test_site run-tests --coverage

  - name: "Cypress"
    python: 3.6
    env: DB=mariadb TYPE=ui
    before_script: bench --site test_site execute frappe.utils.install.complete_setup_wizard
    script: bench --site test_site run-ui-tests frappe --headless

  - name: "Python 2.7 MariaDB"
    python: 2.7
    env: DB=mariadb TYPE=server<commit_msg>fix: (travis) run setup wizard for second site<commit_after>language: python
dist: trusty
sudo: required

addons:
  hosts:
    - test_site
    - test_site_producer
  mariadb: 10.3
  postgresql: 9.5

git:
  depth: 1

cache:
  - pip
  - npm
  - yarn

matrix:
  include:
  - name: "Python 3.6 MariaDB"
    python: 3.6
    env: DB=mariadb TYPE=server
    script: bench --site test_site run-tests --coverage

  - name: "Python 3.6 PostgreSQL"
    python: 3.6
    env: DB=postgres TYPE=server
    script: bench --site test_site run-tests --coverage

  - name: "Cypress"
    python: 3.6
    env: DB=mariadb TYPE=ui
    before_script: 
    - bench --site test_site execute frappe.utils.install.complete_setup_wizard
    - bench --site test_site_producer execute frappe.utils.install.complete_setup_wizard
    script: bench --site test_site run-ui-tests frappe --headless

  - name: "Python 2.7 MariaDB"
    python: 2.7
    env: DB=mariadb TYPE=server
{'fraction_non_alphanumeric': 0.1037037037037037, 'fraction_numerical': 0.022792022792022793, 'mean_word_length': 2.7926565874730023, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3649910', 'n_tokens_mistral': 685, 'n_tokens_neox': 650, 'n_words': 175}