<commit_before># Multi language is not supported so Python needs to be installed ourselves.
# Ruby is default.

language: ruby

rvm:
  - 2.2.3

env:
  - PYTHON=python3.5
  - PYTHON=python3.6

#notifications:
#  irc:
#    - "irc.efnet.net#archivebot"

before_install:
  - sudo add-apt-repository ppa:deadsnakes/ppa --yes
  - sudo apt-get update -qq
  - wget https://bootstrap.pypa.io/get-pip.py

install:
  - bundle install --jobs=3 --retry=3 --deployment
  - cd plumbing && bundle install --jobs=3 --retry=3 --deployment && cd ..
  - sudo apt-get -qq install ircd-hybrid $PYTHON $PYTHON-dev rsync libzmq3-dev
  - /usr/bin/$PYTHON get-pip.py --user
  - travis_retry /usr/bin/$PYTHON -m pip install -q -r pipeline/requirements.txt --user
  - travis_retry /usr/bin/$PYTHON -m pip install -q nose pytest irc --user
  - sudo cp test/example_rsyncd.conf /etc/rsyncd.conf
  - /usr/bin/$PYTHON -m pip install -q git+https://github.com/chfoo/huhhttp#egg=huhhttp --user

before_script:
  - curl -X PUT http://127.0.0.1:5984/archivebot
  - curl -X PUT http://127.0.0.1:5984/archivebot_logs

  - grep -v _rev db/design_docs/archive_urls.json > /tmp/archive_urls.json
  - curl -X PUT http://127.0.0.1:5984/archivebot/_design/archive_urls -d @/tmp/archive_urls.json
<commit_msg>Remove quiet flags on pip installs<commit_after># Multi language is not supported so Python needs to be installed ourselves.
# Ruby is default.

language: ruby

rvm:
  - 2.2.3

env:
  - PYTHON=python3.5
  - PYTHON=python3.6

#notifications:
#  irc:
#    - "irc.efnet.net#archivebot"

before_install:
  - sudo add-apt-repository ppa:deadsnakes/ppa --yes
  - sudo apt-get update -qq
  - wget https://bootstrap.pypa.io/get-pip.py

install:
  - bundle install --jobs=3 --retry=3 --deployment
  - cd plumbing && bundle install --jobs=3 --retry=3 --deployment && cd ..
  - sudo apt-get -qq install ircd-hybrid $PYTHON $PYTHON-dev rsync libzmq3-dev
  - /usr/bin/$PYTHON get-pip.py --user
  - travis_retry /usr/bin/$PYTHON -m pip install -r pipeline/requirements.txt --user
  - travis_retry /usr/bin/$PYTHON -m pip install nose pytest irc --user
  - sudo cp test/example_rsyncd.conf /etc/rsyncd.conf
  - /usr/bin/$PYTHON -m pip install git+https://github.com/chfoo/huhhttp#egg=huhhttp --user

before_script:
  - curl -X PUT http://127.0.0.1:5984/archivebot
  - curl -X PUT http://127.0.0.1:5984/archivebot_logs

  - grep -v _rev db/design_docs/archive_urls.json > /tmp/archive_urls.json
  - curl -X PUT http://127.0.0.1:5984/archivebot/_design/archive_urls -d @/tmp/archive_urls.json

{'fraction_non_alphanumeric': 0.1437007874015748, 'fraction_numerical': 0.03307086614173228, 'mean_word_length': 2.9456521739130435, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '2162683', 'n_tokens_mistral': 1041, 'n_tokens_neox': 1002, 'n_words': 228}