<commit_before>language: php
php:
  - 5.4
  - 5.5
  - 5.6

before_install:
  - cd ..
  - git clone https://github.com/owncloud/core.git
  - mv ownnotes core/apps/
  - cd core
  - git submodule init
  - git submodule update
  - cd apps/ownnotes

script:
  - phpunit tests<commit_msg>update travis<commit_after>language: php
php:
  - 5.4
  - 5.5
  - 5.6

env:
    - DB=sqlite BRANCH master
    - DB=sqlite BRANCH stable8

install:
  # install ocdev
  - sudo apt-get -y install python3-jinja2 python3-setuptools
  - sudo easy_install3 pip
  - sudo pip3 install ocdev
  # install owncloud
  - cd ..
  - ocdev setup core --dir owncloud --branch $BRANCH
  - cd owncloud
  - mkdir apps2
  - ocdev ci $DB
  - mv tutorial core/apps/ownnotes
  - php -f console.php app:enable ownnotes

before_script:
  - cd apps/ownnotes

script:
  - phpunit -c phpunit.xml
  - phpunit -c phpunit.integration.xml
{'fraction_non_alphanumeric': 0.10158013544018059, 'fraction_numerical': 0.02144469525959368, 'mean_word_length': 2.385496183206107, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '3973119', 'n_tokens_mistral': 356, 'n_tokens_neox': 336, 'n_words': 91}