<commit_before>language: python
python:
- '2.7'
env:
  global:
    - "ARTIFACTS_AWS_REGION=us-west-2"
    - "ARTIFACTS_S3_BUCKET=travis-sentry-comments"
    - secure: "EIbXjDCXbzJ4AV/vPwLoDkjpYAevXdRiTlHLw55PbY9nvNA/8BKTGohb92GpjoV+euMP2z3AHoFmeglKhTFTvBGKK46aNdNVpe6KaV1ivQz+741aWF9yECgpZE4N7xFqaRPz+Kg0LOObi66GXZ4W+TgJ5ij4IvprcnX8susu+Fk="
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- wget http://selenium.googlecode.com/files/selenium-server-standalone-2.38.0.jar
- java -jar selenium-server-standalone-2.38.0.jar &
after_failure:
- tar cvfz test_results_$TRAVIS_BUILD_ID-$TRAVIS_JOB_ID.tgz test_results/
- "travis-artifacts upload --path test_results_$TRAVIS_BUILD_ID-$TRAVIS_JOB_ID.tgz"

install: pip install tox
script: tox
<commit_msg>Travis: Redirect Selenium server output.<commit_after>language: python
python:
- '2.7'
env:
  global:
    - "ARTIFACTS_AWS_REGION=us-west-2"
    - "ARTIFACTS_S3_BUCKET=travis-sentry-comments"
    - secure: "EIbXjDCXbzJ4AV/vPwLoDkjpYAevXdRiTlHLw55PbY9nvNA/8BKTGohb92GpjoV+euMP2z3AHoFmeglKhTFTvBGKK46aNdNVpe6KaV1ivQz+741aWF9yECgpZE4N7xFqaRPz+Kg0LOObi66GXZ4W+TgJ5ij4IvprcnX8susu+Fk="
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- wget http://selenium.googlecode.com/files/selenium-server-standalone-2.38.0.jar
- java -jar selenium-server-standalone-2.38.0.jar &> selenium.log &
after_failure:
- tar cvfz test_results_$TRAVIS_BUILD_ID-$TRAVIS_JOB_ID.tgz selenium.log test_results/
- "travis-artifacts upload --path test_results_$TRAVIS_BUILD_ID-$TRAVIS_JOB_ID.tgz"

install: pip install tox
script: tox

{'fraction_non_alphanumeric': 0.11417816813048934, 'fraction_numerical': 0.05144291091593475, 'mean_word_length': 5.729957805907173, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '852834', 'n_tokens_mistral': 814, 'n_tokens_neox': 759, 'n_words': 80}