<commit_before>#!/usr/bin/env bash

source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.sh"

print_header "Setting the application up" "Sylius"
run_command "app/console doctrine:database:create --env=test_cached" || exit $? # Have to be run with debug = true, to omit generating proxies before setting up the database
run_command "app/console cache:warmup --env=test_cached --no-debug" || exit $?
run_command "app/console doctrine:schema:create --env=test_cached --no-debug" || exit $?
run_command "app/console doctrine:phpcr:repository:init --env=test_cached --no-debug" || exit $?

print_header "Setting the web assets up" "sylius"
run_command "app/console assets:install --env=test_cached --no-debug" || exit $?
run_command "app/console assetic:dump --env=test_cached --no-debug" || exit $?
run_command "gulp" || exit $?<commit_msg>[Travis] More verbose Symfony setup<commit_after>#!/usr/bin/env bash

source "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/../../../bash/common.lib.sh"

print_header "Setting the application up" "Sylius"
run_command "app/console doctrine:database:create --env=test_cached -vvv" || exit $? # Have to be run with debug = true, to omit generating proxies before setting up the database
run_command "app/console cache:warmup --env=test_cached --no-debug -vvv" || exit $?
run_command "app/console doctrine:schema:create --env=test_cached --no-debug -vvv" || exit $?
run_command "app/console doctrine:phpcr:repository:init --env=test_cached --no-debug -vvv" || exit $?

print_header "Setting the web assets up" "sylius"
run_command "app/console assets:install --env=test_cached --no-debug -vvv" || exit $?
run_command "app/console assetic:dump --env=test_cached --no-debug -vvv" || exit $?
run_command "gulp" || exit $?
{'fraction_non_alphanumeric': 0.16441441441441443, 'fraction_numerical': 0.0011261261261261261, 'mean_word_length': 4.903654485049834, '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': '2881807', 'n_tokens_mistral': 594, 'n_tokens_neox': 576, 'n_words': 158}