<commit_before>language: python
# whitelist
branches:
  only:
    - master
    - production
    - development
notifications:
    email:
        - <EMAIL>
        - <EMAIL>
        - <EMAIL>
env:
  global:
    - MAKAHIKI_DATABASE_URL=postgres://postgres@127.0.0.1:5432/makahiki
    - MAKAHIKI_ADMIN_INFO=admin:admin
    - MAKAHIKI_DEBUG=True
before_install:
    - sudo apt-get install libjpeg8 libjpeg8-dev libfreetype6 libfreetype6-dev zlib1g-dev tree python-imaging
    - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libjpeg.so.8 /usr/lib
    - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libfreetype.so /usr/lib
    - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so /usr/lib
install: 
    - pip install -r requirements.txt --use-mirrors
    - pip install -U selenium

before_script:
    - psql -c 'create user makahiki;' -U postgres
    - psql -c 'create database makahiki owner makahiki;' -U postgres
    - "export DISPLAY=:99.0"
    - "sh -e /etc/init.d/xvfb start"  
script: coverage run --source=makahiki/apps/ makahiki/manage.py test
after_script:
    - coverage report -m
    - cd makahiki;
    - scripts/run_pylint.sh
    - scripts/run_pep8.sh<commit_msg>Added --allow-external flag for PIL.<commit_after>language: python
# whitelist
branches:
  only:
    - master
    - production
    - development
notifications:
    email:
        - <EMAIL>
        - <EMAIL>
        - <EMAIL>
env:
  global:
    - MAKAHIKI_DATABASE_URL=postgres://postgres@127.0.0.1:5432/makahiki
    - MAKAHIKI_ADMIN_INFO=admin:admin
    - MAKAHIKI_DEBUG=True
before_install:
    - sudo apt-get install libjpeg8 libjpeg8-dev libfreetype6 libfreetype6-dev zlib1g-dev tree python-imaging
    - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libjpeg.so.8 /usr/lib
    - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libfreetype.so /usr/lib
    - sudo ln -s /usr/lib/`uname -i`-linux-gnu/libz.so /usr/lib
install: 
    - pip install -r requirements.txt --use-mirrors --allow-external PIL
    - pip install -U selenium

before_script:
    - psql -c 'create user makahiki;' -U postgres
    - psql -c 'create database makahiki owner makahiki;' -U postgres
    - "export DISPLAY=:99.0"
    - "sh -e /etc/init.d/xvfb start"  
script: coverage run --source=makahiki/apps/ makahiki/manage.py test
after_script:
    - coverage report -m
    - cd makahiki;
    - scripts/run_pylint.sh
    - scripts/run_pep8.sh
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.01694915254237288, 'mean_word_length': 2.523880597014925, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1714358', 'n_tokens_mistral': 971, 'n_tokens_neox': 910, 'n_words': 193}