<commit_before>language: php
php:
  - 5.5

install:
  - composer self-update && composer --version
  - echo "yes" | pecl install apcu-beta
  - pushd src/protected; composer update --prefer-dist; popd

before_script:
  - psql -c 'create user mapasculturais;' -U postgres
  - psql -c 'create database mapasculturais owner mapasculturais;' -U postgres
  - psql -c 'CREATE EXTENSION postgis;' -U postgres -d mapasculturais
  - psql -f db/schema.sql -U mapasculturais -d mapasculturais
  - psql -f db/test-data.sql -U mapasculturais -d mapasculturais

  - tar xC db -f db/sp-shapefile-sql.tar.xz
  - psql -c "DROP table IF EXISTS sp_regiao;" -U mapasculturais -d mapasculturais<commit_msg>add fast_finish to travis config<commit_after>language: php
php:
  - 5.5
matrix:
  fast_finish: true

install:
  - composer self-update && composer --version
  - echo "yes" | pecl install apcu-beta
  - pushd src/protected; composer update --prefer-dist; popd

before_script:
  - psql -c 'create user mapasculturais;' -U postgres
  - psql -c 'create database mapasculturais owner mapasculturais;' -U postgres
  - psql -c 'CREATE EXTENSION postgis;' -U postgres -d mapasculturais
  - psql -f db/schema.sql -U mapasculturais -d mapasculturais
  - psql -f db/test-data.sql -U mapasculturais -d mapasculturais

  - tar xC db -f db/sp-shapefile-sql.tar.xz
  - psql -c "DROP table IF EXISTS sp_regiao;" -U mapasculturais -d mapasculturais
{'fraction_non_alphanumeric': 0.10459363957597173, 'fraction_numerical': 0.0028268551236749115, 'mean_word_length': 3.290909090909091, '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': '6662174', 'n_tokens_mistral': 533, 'n_tokens_neox': 538, 'n_words': 158}