<commit_before>#!/bin/bash

set -e

eval "$(rbenv init -)"
rbenv shell `cat .rbenv-version`
ruby -v | grep 1.9.3
gem list bundler | grep bundler || gem install bundler
bundle install
rake legacy:setup db:migrate db:test:prepare db:test:prepare:legacy
script/test<commit_msg>Enable Jasmine tests in CI.<commit_after>#!/bin/bash

set -e

eval "$(rbenv init -)"
rbenv shell `cat .rbenv-version`
ruby -v | grep 1.9.3
gem list bundler | grep bundler || gem install bundler
bundle install
rake legacy:setup db:migrate db:test:prepare db:test:prepare:legacy

script/test  > $CC_BUILD_ARTIFACTS/rspec_tests.log 2>&1

rake phantom > $CC_BUILD_ARTIFACTS/jasmine_tests.log 2>&1
{'fraction_non_alphanumeric': 0.11861861861861862, 'fraction_numerical': 0.015015015015015015, 'mean_word_length': 5.009009009009009, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '5054997', 'n_tokens_mistral': 267, 'n_tokens_neox': 245, 'n_words': 69}