<commit_before>machine:
    services:
        - postgresql
dependencies:
    post:
        - sudo sudo apt-get update && sudo apt-get install postgresql-contrib-9.5 postgresql-9.5-plsh
        - sudo -u postgres psql -c "create database test;"
        - sudo -u postgres psql -c "alter database test set google_translate.api_key = '<KEY>';"
        - sudo -u postgres psql test -c "create extension if not exists plsh;"
        - sudo -u postgres psql test -f ~/postgrest-google-translate/install.sql
        - sudo sh -c "echo \"port = 5432\" >> /etc/postgresql/9.5/main/postgresql.conf"
        - sudo service postgresql restart
test:
    override:
        - ~/postgrest-google-translate/test/run.sh -f junit >$CIRCLE_TEST_REPORTS/junit.xml
        - sudo -u postgres psql test -f ~/postgrest-google-translate/uninstall.sql
<commit_msg>CI: uninstall -- stop on error<commit_after>machine:
    services:
        - postgresql
dependencies:
    post:
        - sudo sudo apt-get update && sudo apt-get install postgresql-contrib-9.5 postgresql-9.5-plsh
        - sudo -u postgres psql -c "create database test;"
        - sudo -u postgres psql -c "alter database test set google_translate.api_key = '<KEY>';"
        - sudo -u postgres psql test -c "create extension if not exists plsh;"
        - sudo -u postgres psql test -f ~/postgrest-google-translate/install.sql
        - sudo sh -c "echo \"port = 5432\" >> /etc/postgresql/9.5/main/postgresql.conf"
        - sudo service postgresql restart
test:
    override:
        - ~/postgrest-google-translate/test/run.sh -f junit >$CIRCLE_TEST_REPORTS/junit.xml
        - sudo -u postgres psql test -v ON_ERROR_STOP=1 -f ~/postgrest-google-translate/uninstall.sql

{'fraction_non_alphanumeric': 0.11390186915887851, 'fraction_numerical': 0.012266355140186916, 'mean_word_length': 2.488798370672098, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '162589', 'n_tokens_mistral': 587, 'n_tokens_neox': 558, 'n_words': 158}