<commit_before>#!/bin/bash
set -ev

if [ "$TRAVIS_BRANCH" == "master" ]; then
	go get github.com/fzzy/radix/redis
	go get github.com/glacjay/goini

	CGO_ENABLED=0 go build -ldflags "-s" -a -installsuffix cgo -o slack-jobs

	docker login -u="$DOCKER_USER" -p="$DOCKER_PASSWORD" -e="$DOCKER_EMAIL" $DOCKER_REGISTRY
	docker build -t $DOCKER_REPO .
	docker push $DOCKER_REPO
fi
<commit_msg>move build step out of if block<commit_after>#!/bin/bash
set -ev

if [ "$TRAVIS_BRANCH" != "master" ]; then
	exit
fi

go get github.com/fzzy/radix/redis
go get github.com/glacjay/goini

CGO_ENABLED=0 go build -ldflags "-s" -a -installsuffix cgo -o slack-jobs

docker login -u="$DOCKER_USER" -p="$DOCKER_PASSWORD" -e="$DOCKER_EMAIL" $DOCKER_REGISTRY
docker build -t $DOCKER_REPO .
docker push $DOCKER_REPO

{'fraction_non_alphanumeric': 0.13653603034134007, 'fraction_numerical': 0.0025284450063211127, 'mean_word_length': 4.424657534246576, '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': '1473098', 'n_tokens_mistral': 361, 'n_tokens_neox': 340, 'n_words': 81}