<commit_before>#!/bin/bash

# This is the bees CI integ build. Any changes to the build
# script should be here instead if in the bees config.

set -e

DIR=$( cd "$( dirname "$0" )" && pwd )

. ${DIR}/common-build.sh

EAP_VERSION=6.4.0

function install-eap {
    mark "Installing EAP ${EAP_VERSION}"
    ${DIR}/ci-prep-as.sh ${AS_DIR} EAP ${EAP_VERSION}
}

cleanup
install-lein
setup-lein-profiles
install-eap

mark "Building SNAPSHOT without tests"
lein modules install

cd integration-tests

export JBOSS_HOME="${AS_DIR}/EAP-${EAP_VERSION}"

mark "Starting integs"
lein with-profile +integs,+eap all

mark "Starting cluster tests"
lein with-profile +cluster,+eap all

cd -

mark "Done"<commit_msg>We only need the eap profile for building eap integs.<commit_after>#!/bin/bash

# This is the bees CI integ build. Any changes to the build
# script should be here instead if in the bees config.

set -e

DIR=$( cd "$( dirname "$0" )" && pwd )

. ${DIR}/common-build.sh

EAP_VERSION=6.4.0

function install-eap {
    mark "Installing EAP ${EAP_VERSION}"
    ${DIR}/ci-prep-as.sh ${AS_DIR} EAP ${EAP_VERSION}
}

cleanup
install-lein
setup-lein-profiles
install-eap

mark "Building SNAPSHOT without tests"
lein modules install

cd integration-tests

export JBOSS_HOME="${AS_DIR}/EAP-${EAP_VERSION}"

mark "Starting integs"
lein with-profile +eap all

mark "Starting cluster tests"
lein with-profile +cluster,+eap all

cd -

mark "Done"
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.00558659217877095, 'mean_word_length': 4.1732851985559565, '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': '7371687', 'n_tokens_mistral': 541, 'n_tokens_neox': 507, 'n_words': 160}