<commit_before>language: dart
#sudo: required
addons:
  postgresql: "9.4"
services:
  - postgresql
before_install:
  - bash ci/before_script.sh
before_script:
  - psql -c 'create user dart with createdb;' -U postgres
  - psql -c "alter user dart with password '<PASSWORD>';" -U postgres
  - psql -c 'create database dart_test;' -U postgres
  - psql -c 'grant all on database dart_test to dart;' -U postgres
  - pub get
script: bash ci/script.sh
env:
  - STAGE=tests
  - STAGE=coverage COVERAGE_SLICE='auth base'
  - STAGE=coverage COVERAGE_SLICE='command'
  - STAGE=coverage COVERAGE_SLICE='db managed_auth utilities testing'
branches:
  only:
    - master
    - 1.0
    - 2.0
after_success:
  - bash ci/after_script.sh<commit_msg>Adds dev channel tests (#325)<commit_after>language: dart
dart:
  - stable
  - dev
addons:
  postgresql: "9.6"
services:
  - postgresql
before_install:
  - bash ci/before_script.sh
before_script:
  - psql -c 'create user dart with createdb;' -U postgres
  - psql -c "alter user dart with password '<PASSWORD>';" -U postgres
  - psql -c 'create database dart_test;' -U postgres
  - psql -c 'grant all on database dart_test to dart;' -U postgres
  - pub get
script: bash ci/script.sh
env:
  - STAGE=tests
  - STAGE=coverage COVERAGE_SLICE='auth base'
  - STAGE=coverage COVERAGE_SLICE='command'
  - STAGE=coverage COVERAGE_SLICE='db managed_auth utilities testing'
branches:
  only:
    - master
after_success:
  - bash ci/after_script.sh

matrix:
  exclude:
    - dart: dev
      env: STAGE=coverage COVERAGE_SLICE='auth base'
    - dart: dev
      env: STAGE=coverage COVERAGE_SLICE='command'
    - dart: dev
      env: STAGE=coverage COVERAGE_SLICE='db managed_auth utilities testing'
{'fraction_non_alphanumeric': 0.10547785547785547, 'fraction_numerical': 0.00641025641025641, 'mean_word_length': 3.518421052631579, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3973242', 'n_tokens_mistral': 653, 'n_tokens_neox': 619, 'n_words': 173}