<commit_before>language: php
 
php:
    - 5.3
 
before_script:
    - sudo apt-get install apache2 libapache2-mod-php5
    - sudo a2enmod actions
    - sudo a2enmod rewrite
    - sudo a2enmod php5
    - echo "$(curl -fsSL https://raw.github.com/gist/2eb301570ed4a1f4c33d/gistfile1.txt)" | sed -e "s,PATH,`pwd`,g" | sudo tee /etc/apache2/sites-available/default > /dev/null
    - sudo service apache2 restart
    - make setup
    - make setup-server-test
    - make setup-client-test
    - echo "http://127.0.0.1:80" > serverurl
    - chmod 777 server/data/
    - curl http://127.0.0.1:80/check.php
    - curl http://127.0.0.1:80/server/status
    - curl http://127.0.0.1:80/
    - curl http://127.0.0.1:80/server/auth
    - sudo tail -n 20 /var/log/apache2/error.log

script: sudo make test
<commit_msg>travis debug<commit_after>language: php
 
php:
    - 5.3
 
before_script:
    - sudo apt-get install apache2 libapache2-mod-php5
    - sudo a2enmod actions
    - sudo a2enmod rewrite
    - sudo a2enmod php5
    - echo "$(curl -fsSL https://raw.github.com/gist/2eb301570ed4a1f4c33d/gistfile1.txt)" | sed -e "s,PATH,`pwd`,g" | sudo tee /etc/apache2/sites-available/default > /dev/null
    - sudo service apache2 restart
    - make setup
    - make setup-server-test
    - make setup-client-test
    - echo "http://127.0.0.1:80" > serverurl
    - chmod 777 server/data/
    - curl http://127.0.0.1:80/check.php
    - curl http://127.0.0.1:80/server/status
    - curl http://127.0.0.1:80/
    - curl http://127.0.0.1:80/server/auth
    - sudo tail -n 20 /var/log/apache2/error.log

script: sudo -E make test

{'fraction_non_alphanumeric': 0.14757160647571607, 'fraction_numerical': 0.08717310087173101, 'mean_word_length': 2.3340248962655603, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 10, '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': '3157953', 'n_tokens_mistral': 713, 'n_tokens_neox': 625, 'n_words': 128}