<commit_before>#!/bin/bash -e

# Copyright 2017 tsuru authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

if [ -n "$TRAVIS_TAG" ]
then 
    echo "triggering ec2 integration test for $TRAVIS_TAG"
    curl --header "Content-Type: application/json" --data '{"build_parameters": {"TSURUVERSION": "'"$TRAVIS_TAG"'"}}' \
    --request POST https://circleci.com/api/v1.1/project/github/tsuru/integration_ec2/tree/master?circle-token=$CIRCLE_EC2_TOKEN
fi<commit_msg>misc: adds "v" prefix to tag for the integration build params<commit_after>#!/bin/bash -e

# Copyright 2017 tsuru authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.

if [ -n "$TRAVIS_TAG" ]
then 
    echo "triggering ec2 integration test for $TRAVIS_TAG"
    curl --header "Content-Type: application/json" --data '{"build_parameters": {"TSURUVERSION": "'"v$TRAVIS_TAG"'"}}' \
    --request POST https://circleci.com/api/v1.1/project/github/tsuru/integration_ec2/tree/master?circle-token=$CIRCLE_EC2_TOKEN
fi
{'fraction_non_alphanumeric': 0.13043478260869565, 'fraction_numerical': 0.015971606033717833, 'mean_word_length': 4.295774647887324, 'pattern_counts': {'":': 4, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '6245540', 'n_tokens_mistral': 392, 'n_tokens_neox': 374, 'n_words': 111}