<commit_before># We cannot enable container-based infrastructure for now since we need TeXlive
# from a PPA
#sudo: false

sudo: required
dist: trusty

language: python
python:
    - "2.7"

virtualenv:
  system_site_packages: true

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install python-nose
  - sudo apt-get install texlive-latex-base texlive-latex-extra
  - sudo apt-get install python-scipy  # for ImageHash
  - sudo apt-get install poppler-utils
  - sudo apt-get build-dep python-matplotlib

install:
  # Alternative: setup.py install.
  # Using pip makes sure that the package is pip-compatible, too.
  - pip install .
  - pip install coveralls
  - pip install matplotlib
  - pip -I install Pillow
  - pip install ImageHash

## manually install important TeX dependencies
#before_script:
#  - export TEXMFLOCAL=/tmp/texmf/ && mkdir -p $TEXMFLOCAL
#  - wget http://mirrors.ctan.org/install/graphics/pgf/base/pgf.tds.zip -O /tmp/pgf.zip
#  - unzip /tmp/pgf.zip -d $TEXMFLOCAL
#  - wget http://mirrors.ctan.org/install/graphics/pgf/contrib/pgfplots.tds.zip -O /tmp/pgfplots.zip
#  - unzip /tmp/pgfplots.zip -d $TEXMFLOCAL<commit_msg>travis: pip options error<commit_after># We cannot enable container-based infrastructure for now since we need TeXlive
# from a PPA
#sudo: false

sudo: required
dist: trusty

language: python
python:
    - "2.7"

virtualenv:
  system_site_packages: true

before_install:
  - sudo apt-get update -qq
  - sudo apt-get install python-nose
  - sudo apt-get install texlive-latex-base texlive-latex-extra
  - sudo apt-get install python-scipy  # for ImageHash
  - sudo apt-get install poppler-utils
  - sudo apt-get build-dep python-matplotlib

install:
  # Alternative: setup.py install.
  # Using pip makes sure that the package is pip-compatible, too.
  - pip install .
  - pip install coveralls
  - pip install matplotlib
  - pip install --ignore-installed Pillow
  - pip install ImageHash

## manually install important TeX dependencies
#before_script:
#  - export TEXMFLOCAL=/tmp/texmf/ && mkdir -p $TEXMFLOCAL
#  - wget http://mirrors.ctan.org/install/graphics/pgf/base/pgf.tds.zip -O /tmp/pgf.zip
#  - unzip /tmp/pgf.zip -d $TEXMFLOCAL
#  - wget http://mirrors.ctan.org/install/graphics/pgf/contrib/pgfplots.tds.zip -O /tmp/pgfplots.zip
#  - unzip /tmp/pgfplots.zip -d $TEXMFLOCAL
{'fraction_non_alphanumeric': 0.10564585115483319, 'fraction_numerical': 0.001710863986313088, 'mean_word_length': 3.3314814814814815, 'pattern_counts': {'":': 0, '<': 3, '<?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': '1484739', 'n_tokens_mistral': 827, 'n_tokens_neox': 826, 'n_words': 228}