<commit_before>#!/bin/bash
set -e
echo "Running travis "
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

SETUP_VERSION="v0.0.3"
#SETUP_VERBOSITY="vv"

## Install Ansible 2.0
ANSIBLE_VERSIONS[0]="2.1.0.0"
INSTALL_TYPE[0]="pip"
ANSIBLE_LABEL[0]="v2.1"

ANSIBLE_VERSIONS[1]="2.2.0.0"
INSTALL_TYPE[1]="pip"
ANSIBLE_LABEL[1]="v2.2"

# Whats the default version
ANSIBLE_DEFAULT_VERSION="v2"

## Create a temp dir
filename=$( echo ${0} | sed 's|/||g' )
my_temp_dir="$(mktemp -dt ${filename}.XXXX)"

curl -s https://raw.githubusercontent.com/ahelal/avm/${SETUP_VERSION}/setup.sh -o $my_temp_dir/setup.sh

## Run the setup
. $my_temp_dir/setup.sh<commit_msg>Update ansible-setup.sh<commit_after>#!/bin/bash
set -e
echo "Running travis "
DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )

SETUP_VERSION="v0.0.3"
#SETUP_VERBOSITY="vv"

## Install Ansible 2.0
ANSIBLE_VERSIONS[0]="2.1.0.0"
INSTALL_TYPE[0]="pip"
ANSIBLE_LABEL[0]="v2.1"

ANSIBLE_VERSIONS[1]="2.2.0.0"
INSTALL_TYPE[1]="pip"
ANSIBLE_LABEL[1]="v2.2"

# Whats the default version
ANSIBLE_DEFAULT_VERSION="v2.2"

## Create a temp dir
filename=$( echo ${0} | sed 's|/||g' )
my_temp_dir="$(mktemp -dt ${filename}.XXXX)"

curl -s https://raw.githubusercontent.com/ahelal/avm/${SETUP_VERSION}/setup.sh -o $my_temp_dir/setup.sh

## Run the setup
. $my_temp_dir/setup.sh
{'fraction_non_alphanumeric': 0.20317220543806647, 'fraction_numerical': 0.04003021148036254, 'mean_word_length': 5.527093596059113, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '882096', 'n_tokens_mistral': 623, 'n_tokens_neox': 580, 'n_words': 96}