<commit_before>language: java
sudo: required
jdk: oraclejdk8
notifications:
  email: false
  irc:
    channels:
      - secure: K+Wuro8Y/66zt9truTZuZzFmPqiGrFsH/sPzOBDK3+57mL6/vg2NoQ<KEY>RLdVKavlvZcm6+9nsN<KEY>ORuW3BgLaBJis3lTA13AqlOnAbXcYytQEulVeWmvPipHFFFqaHs/z77lxm4fKwAAuBnK1f+mXKZDZR2hLo=
    on_success: never
    on_failure: always
    use_notice: true
    skip_join: true
env:
  global:
    - DISPLAY=:99.0
  matrix:
    - TASK=build
    - TASK=atoms
    - TASK=atoms_tests TARGET=chrome
    - TASK=java TARGET=java_small_tests
    - TASK=java TARGET=chrome
    - TASK=java TARGET=grid TOXENV=chrome
    - TASK=api_docs TARGET=java
    - TASK=rb TARGET=unit-test
    - TASK=rb TARGET=chrome-test
    - TASK=rb TARGET=firefox-test
    - TASK=rb TARGET=ff-legacy-test
    - TASK=rb TARGET=phantomjs-test
    - TASK=rb TARGET=remote-chrome-test
    - TASK=rb TARGET=remote-firefox-test
    - TASK=rb TARGET=remote-ff-legacy-test
    - TASK=rb TARGET=remote-phantomjs-test
    - TASK=py TOXENV=py27-chrome
    - TASK=py TOXENV=py27-firefox
    - TASK=py TOXENV=py27-marionette
    - TASK=py TOXENV=py27-phantomjs
    - TASK=py TOXENV=py27-remote
matrix:
  fast_finish: true
  allow_failures:
    - env: TASK=rb TARGET=remote-firefox-test
    - env: TASK=py TOXENV=py27-chrome
    - env: TASK=py TOXENV=py27-firefox
    - env: TASK=py TOXENV=py27-marionette
    - env: TASK=py TOXENV=py27-remote
    - env: TASK=api_docs TARGET=py_
    - env: TASK=api_docs TARGET=//rb:
before_script:
  - sh -e /etc/init.d/xvfb start
script:
  - |
      if [[ $TARGET+$TOXENV == *"chrome"* ]]; then
        sudo apt-get -y purge chromium-browser
        export CHROME_REVISION=`curl -s http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/LAST_CHANGE`
        curl -L -O "http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/${CHROME_REVISION}/chrome-linux.zip"
        unzip chrome-linux.zip
        sudo ln -sf $PWD/chrome-linux/chrome-wrapper /usr/local/bin/chrome
        export CHROMEDRIVER_VERSION=`curl -s http://chromedriver.storage.googleapis.com/LATEST_RELEASE`
        curl -L -O "http://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
        unzip chromedriver_linux64.zip && chmod +x chromedriver && sudo mv chromedriver /usr/local/bin
      fi
  - |
      if [[ $TARGET == *"ff-legacy"* ]] || [ $TOXENV == *"firefox"* ]]; then<commit_msg>fix yml format error<commit_after>language: java
sudo: required
jdk: oraclejdk8
notifications:
  email: false
  irc:
    channels:
      - secure: <KEY>
    on_success: never
    on_failure: always
    use_notice: true
    skip_join: true
env:
  global:
    - DISPLAY=:99.0
  matrix:
    - TASK=build
    - TASK=atoms
    - TASK=atoms_tests TARGET=chrome
    - TASK=java TARGET=java_small_tests
    - TASK=java TARGET=chrome
    - TASK=java TARGET=grid TOXENV=chrome
    - TASK=api_docs TARGET=java
    - TASK=rb TARGET=unit-test
    - TASK=rb TARGET=chrome-test
    - TASK=rb TARGET=firefox-test
    - TASK=rb TARGET=ff-legacy-test
    - TASK=rb TARGET=phantomjs-test
    - TASK=rb TARGET=remote-chrome-test
    - TASK=rb TARGET=remote-firefox-test
    - TASK=rb TARGET=remote-ff-legacy-test
    - TASK=rb TARGET=remote-phantomjs-test
    - TASK=py TOXENV=py27-chrome
    - TASK=py TOXENV=py27-firefox
    - TASK=py TOXENV=py27-marionette
    - TASK=py TOXENV=py27-phantomjs
    - TASK=py TOXENV=py27-remote
matrix:
  fast_finish: true
  allow_failures:
    - env: TASK=rb TARGET=remote-firefox-test
    - env: TASK=py TOXENV=py27-chrome
    - env: TASK=py TOXENV=py27-firefox
    - env: TASK=py TOXENV=py27-marionette
    - env: TASK=py TOXENV=py27-remote
    - env: TASK=api_docs TARGET=py_
    - env: TASK=api_docs TARGET="//rb:"
before_script:
  - sh -e /etc/init.d/xvfb start
script:
  - |
      if [[ $TARGET+$TOXENV == *"chrome"* ]]; then
        sudo apt-get -y purge chromium-browser
        export CHROME_REVISION=`curl -s http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/LAST_CHANGE`
        curl -L -O "http://commondatastorage.googleapis.com/chromium-browser-snapshots/Linux_x64/${CHROME_REVISION}/chrome-linux.zip"
        unzip chrome-linux.zip
        sudo ln -sf $PWD/chrome-linux/chrome-wrapper /usr/local/bin/chrome
        export CHROMEDRIVER_VERSION=`curl -s http://chromedriver.storage.googleapis.com/LATEST_RELEASE`
        curl -L -O "http://chromedriver.storage.googleapis.com/${CHROMEDRIVER_VERSION}/chromedriver_linux64.zip"
        unzip chromedriver_linux64.zip && chmod +x chromedriver && sudo mv chromedriver /usr/local/bin
      fi
  - |
      if [[ $TARGET == *"ff-legacy"* ]] || [ $TOXENV == *"firefox"* ]]; then
{'fraction_non_alphanumeric': 0.12316528398213146, 'fraction_numerical': 0.017017655817911082, 'mean_word_length': 3.1684397163120566, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '7093214', 'n_tokens_mistral': 1938, 'n_tokens_neox': 1841, 'n_words': 292}