<commit_before>language: ruby
cache: bundler
sudo: required
services:
- docker
before_script:
- cp botconfig.yml.example botconfig.yml
script:
- bundle exec ruby bot.rb test
after_success:
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=smallworlds/discordbot
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH;
  fi`
- docker build -f Dockerfile -t $REPO:$COMMIT .
- docker tag $REPO:$COMMIT $REPO:$TAG
- docker tag $REPO:$COMMIT $REPO:travis-$TRAVIS_BUILD_NUMBER
- docker push $REPO
env:
  global:
  # Docker Email
  - secure: KjKINiJGUPh/6u5eq8gSt6da3/oTSAyPx9cZ21aje/Fsn36J+um1J8YOuxUZP4x3lqoNcJvBbdpSCJSH/izcxXQrvPrA4P7+QtvqApWxrUvn8wrzEtHGyWVyehV2HThglV4mIuuN4TzAN/I2EOhznfpA6bCHypeF8xTL4LPUG5+w5Unoq9cmDnFnhgrTuyGA3a0yQPCgcUauPxzWxRWx51fHzvW2+KmyV3Xfm233Az5vD+4t9mhHg5Oc1LO8te4Gd1Lmgb8T5LBwKQbaeS424icEljQ5Zhps4KBqnl4i1CNz8LCnVfF6B43UyyXSpxbDloYOl3fCw/GbZQqKsT53jwfozYl3PxzG1xCRm9ujJbwb5bZQLcsCiD7E1v7eBcbuWKyEMtErw6xmMUFQZF3mYC/asCSaqMZQopoRzrW7Gc/ZsdMNSN59ripVyVWe13vyJR/fMIgNRu6dIxQxPtaeGER91koad+bDVuEQ7tc9wX06T77MDHOb52U+2mg+P6iS2nylc5Q6AT85gZ1pTkY1IZV2KenY23gapPA2cSenpm5Ps2ejVYozcJYkG6y64J5iT0mPesVWmsiZPlZzKoyqlp4ZIivioy1s0hudyshNHRHaxb/MLzIXdqegX3KuZu2q0HWdB8Q7Ap1LKSTk0j1s6nFFLp6TN3Q6xNzY+NcpcpA=<commit_msg>Email was unneccessary<commit_after>language: ruby
cache: bundler
sudo: required
services:
- docker
before_script:
- cp botconfig.yml.example botconfig.yml
script:
- bundle exec ruby bot.rb test
after_success:
- docker login -u $DOCKER_USER -p $DOCKER_PASS
- export REPO=smallworlds/discordbot
- export TAG=`if [ "$TRAVIS_BRANCH" == "master" ]; then echo "latest"; else echo $TRAVIS_BRANCH;
  fi`
- docker build -f Dockerfile -t $REPO:$COMMIT .
- docker tag $REPO:$COMMIT $REPO:$TAG
- docker tag $REPO:$COMMIT $REPO:travis-$TRAVIS_BUILD_NUMBER
- docker push $REPO
env:
  global:
{'fraction_non_alphanumeric': 0.0878594249201278, 'fraction_numerical': 0.06389776357827476, 'mean_word_length': 7.658986175115207, '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': '2162667', 'n_tokens_mistral': 1033, 'n_tokens_neox': 952, 'n_words': 121}