<commit_before>language: ruby
branches:
  only:
    - develop
    - master
rvm:
  - 1.8.7
before_install:
  - sudo gem install rubygems-update --version=1.6.2
  - sudo gem update --system 1.6.2
  - sudo gem install rake
  - git submodule update --init --recursive
  - psql -c "create database foi_test template template0 encoding 'SQL_ASCII';" -U postgres
  - cp config/database.yml-test config/database.yml
  - sudo apt-get update
  - export DEBIAN_FRONTEND=noninteractive
  - sudo apt-get -y install exim4-daemon-light
  - sudo apt-get -y install `cut -d " " -f 1 config/packages | egrep -v "(^#|wkhtml|bundler)"`
  - ./script/rails-post-deploy
before_script:
notifications:
  irc: "irc.freenode.org#alaveteli"
  email:
    recipients:
      - <EMAIL><commit_msg>Execute the rails-post-deploy script with in the `test` environment<commit_after>language: ruby
branches:
  only:
    - develop
    - master
rvm:
  - 1.8.7
before_install:
  - sudo gem install rubygems-update --version=1.6.2
  - sudo gem update --system 1.6.2
  - sudo gem install rake
  - git submodule update --init --recursive
  - psql -c "create database foi_test template template0 encoding 'SQL_ASCII';" -U postgres
  - cp config/database.yml-test config/database.yml
  - sudo apt-get update
  - export DEBIAN_FRONTEND=noninteractive
  - sudo apt-get -y install exim4-daemon-light
  - sudo apt-get -y install `cut -d " " -f 1 config/packages | egrep -v "(^#|wkhtml|bundler)"`
  - RAILS_ENV=test ./script/rails-post-deploy
before_script:
notifications:
  irc: "irc.freenode.org#alaveteli"
  email:
    recipients:
      - <EMAIL>
{'fraction_non_alphanumeric': 0.11944965603502189, 'fraction_numerical': 0.0150093808630394, 'mean_word_length': 3.04040404040404, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '6758063', 'n_tokens_mistral': 605, 'n_tokens_neox': 566, 'n_words': 152}