<commit_before>sudo: required
services:
  - docker

branches:
  except:
    - master
script:
  - npm install -g mustache
# building PRs with shell scripts is a credential leak vulnerability
  - >
    if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
      ./ci-build.sh
      SERVICE_TAG=${SERVICE_TAG:-$TRAVIS_BRANCH}; docker build -t experimentalplatform/configure:${SERVICE_TAG} .
      if [ "$TRAVIS_BRANCH" == "master" ]; then
        echo -e "\n\nWe're not uploading master anywhere."
      else
        docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
        SERVICE_TAG=${SERVICE_TAG:-$TRAVIS_BRANCH}; docker push experimentalplatform/configure:${SERVICE_TAG}
      fi
    fi

<commit_msg>build master, just don't push it<commit_after>sudo: required
services:
  - docker

script:
  - npm install -g mustache
# building PRs with shell scripts is a credential leak vulnerability
  - >
    if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then
      ./ci-build.sh
      SERVICE_TAG=${SERVICE_TAG:-$TRAVIS_BRANCH}; docker build -t experimentalplatform/configure:${SERVICE_TAG} .
      if [ "$TRAVIS_BRANCH" == "master" ]; then
        echo -e "\n\nWe're not uploading master anywhere."
      else
        docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
        SERVICE_TAG=${SERVICE_TAG:-$TRAVIS_BRANCH}; docker push experimentalplatform/configure:${SERVICE_TAG}
      fi
    fi


{'fraction_non_alphanumeric': 0.11467236467236468, 'fraction_numerical': 0.0, 'mean_word_length': 3.219219219219219, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3333120', 'n_tokens_mistral': 477, 'n_tokens_neox': 464, 'n_words': 118}