<commit_before>sudo: false
language: python
python:
  - "3.5"
  - "3.6"

env:
  matrix:
    - DB=postgres

matrix:
  include:
    - python: 3.5
      env: DB=sqlite

branches:
  only:
    - master

before_install:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - nvm install 8
  - if [[ "$DB" == "postgres" ]]; then psql -c 'create database nextcloudappstore;' -U postgres; fi
  # install geckodriver for frontend tests
  - wget https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz
  - mkdir geckodriver
  - tar -xzf geckodriver-v0.18.0-linux64.tar.gz -C geckodriver
  - export PATH=$PATH:$PWD/geckodriver

install:
  - npm -g install yarn
  - make dev-setup db="$DB" pyvenv="pyvenv"
  - make l10n
  - yarn add tslint

script:
  - ./node_modules/.bin/tslint "./nextcloudappstore/core/static/assets/**/*.ts"
  - make test

after_success:
  - venv/bin/coveralls

services:
  - postgresql

addons:
  firefox: "latest"<commit_msg>use different pyvenv command<commit_after>sudo: false
language: python
python:
  - "3.5"
  - "3.6"

env:
  matrix:
    - DB=postgres

matrix:
  include:
    - python: 3.5
      env: DB=sqlite

branches:
  only:
    - master

before_install:
  - export DISPLAY=:99.0
  - sh -e /etc/init.d/xvfb start
  - nvm install 8
  - if [[ "$DB" == "postgres" ]]; then psql -c 'create database nextcloudappstore;' -U postgres; fi
  # install geckodriver for frontend tests
  - wget https://github.com/mozilla/geckodriver/releases/download/v0.18.0/geckodriver-v0.18.0-linux64.tar.gz
  - mkdir geckodriver
  - tar -xzf geckodriver-v0.18.0-linux64.tar.gz -C geckodriver
  - export PATH=$PATH:$PWD/geckodriver

install:
  - npm -g install yarn
  - make dev-setup db="$DB"
  - make l10n
  - yarn add tslint

script:
  - ./node_modules/.bin/tslint "./nextcloudappstore/core/static/assets/**/*.ts"
  - make test

after_success:
  - venv/bin/coveralls

services:
  - postgresql

addons:
  firefox: "latest"
{'fraction_non_alphanumeric': 0.14053779807204464, 'fraction_numerical': 0.028411973617453068, 'mean_word_length': 2.844054580896686, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1110483', 'n_tokens_mistral': 832, 'n_tokens_neox': 793, 'n_words': 167}