<commit_before>language: java
sudo: required
dist: trusty
jdk:
  - oraclejdk7

install: true

addons:
  apt:
    sources:
    - google-chrome
    packages:
    - google-chrome-stable

before_script:
  - "sudo apt-get install unzip"
  - "wget http://chromedriver.storage.googleapis.com/LATEST_RELEASE"
  - "read CHROMEDRIVER_LATEST_RELEASE < LATEST_RELEASE"
  - "wget -N http://chromedriver.storage.googleapis.com/$CHROMEDRIVER_LATEST_RELEASE/chromedriver_linux64.zip"
  - "unzip chromedriver_linux64.zip"
  - "chmod +x chromedriver"
  - "sudo mv -f chromedriver /usr/local/share/chromedriver"
  - "sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver"
  - "sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver"
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

script:
  - mvn clean
  - mvn install -Dmaven.javadoc.skip=true -Dselenide.browser=chrome -Dwebdriver.chrome.driver=/usr/bin/chromedriver

after_success:
  - mvn clean cobertura:cobertura coveralls:report<commit_msg>Изменил настройки сборки и тестирования приложения на Travis CI. Всемя сборки должно уменьшиться.<commit_after>language: java
sudo: required
dist: trusty
jdk:
  - oraclejdk7

install: true

addons:
  apt:
    sources:
    - google-chrome
    packages:
    - google-chrome-stable

before_script:
  - "sudo apt-get install unzip"
  - "wget http://chromedriver.storage.googleapis.com/LATEST_RELEASE"
  - "read CHROMEDRIVER_LATEST_RELEASE < LATEST_RELEASE"
  - "wget -N http://chromedriver.storage.googleapis.com/$CHROMEDRIVER_LATEST_RELEASE/chromedriver_linux64.zip"
  - "unzip chromedriver_linux64.zip"
  - "chmod +x chromedriver"
  - "sudo mv -f chromedriver /usr/local/share/chromedriver"
  - "sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver"
  - "sudo ln -s /usr/local/share/chromedriver /usr/bin/chromedriver"
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"

script:
  - mvn clean cobertura:cobertura -Dmaven.javadoc.skip=true -Dselenide.browser=chrome -Dwebdriver.chrome.driver=/usr/bin/chromedriver

after_success:
  - mvn coveralls:report
{'fraction_non_alphanumeric': 0.11986628462273162, 'fraction_numerical': 0.007640878701050621, 'mean_word_length': 3.805045871559633, 'pattern_counts': {'":': 0, '<': 5, '<?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': '2163006', 'n_tokens_mistral': 861, 'n_tokens_neox': 808, 'n_words': 144}