<commit_before>sudo: required
language: php
dist: xenial

matrix:
  include:
    - php: 7.1
      env:
        - DB=mysql-5.7
        - WEBTESTS=false
        - COVERAGE=true
  fast_finish: true

services:
  - memcached
  - mysql

# Prepare the server (PHP, Apache, PHPUnit, APCu etc)
install:
  - chmod +x tests/travis-ci/*.sh
  - tests/travis-ci/setup-server.sh $DB $TRAVIS_PHP_VERSION $WEBTESTS $COVERAGE<commit_msg>! revert back to full testing<commit_after>sudo: required
language: php
dist: xenial

matrix:
  include:
    - php: 7.1
      env:
        - DB=mysql-5.7
        - WEBTESTS=false
        - COVERAGE=true
    - php: 7.3
      env:
        - DB=mysql-5.7
        - WEBTESTS=true
        - COVERAGE=true
    - php: 7.3
      env:
        - DB=postgres-9.6
        - WEBTESTS=false
        - COVERAGE=true
      addons:
        postgresql: "9.6"
    - php: 7.2
      env:
        - DB=mariadb-10.3
        - WEBTESTS=false
        - COVERAGE=false
      addons:
        mariadb: '10.3'
    - language: node_js
      node_js:
        - "node"
      php:
      # none
      install:
        - npm install --save-dev jshint stylelint stylelint-order stylelint-config-recommended
      before_script:
      # nothing
      script:
        - node_modules/jshint/bin/jshint .
        - stylelint "**/*.css"
      after_script:
      # nothing
  fast_finish: true

services:
  - memcached
  - mysql

# Prepare the server (PHP, Apache, PHPUnit, APCu etc)
install:
  - chmod +x tests/travis-ci/*.sh
  - tests/travis-ci/setup-server.sh $DB $TRAVIS_PHP_VERSION $WEBTESTS $COVERAGE
{'fraction_non_alphanumeric': 0.11181301326595072, 'fraction_numerical': 0.016424510423247, 'mean_word_length': 1.8336314847942754, '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': '7093505', 'n_tokens_mistral': 610, 'n_tokens_neox': 590, 'n_words': 122}