<commit_before>language: go

go:
  - "1.10.x"
  - "1.11.x"

before_install:
  - sudo apt-get install -y nodejs
  - npm install -g snyk

install:
  - go get -t ./...
  - snyk test --org=maxmind

after_success:
  - snyk monitor --org=maxmind --project-name=maxmind/geoipupdate2

env:
  global:
    secure: "<KEY>
<commit_msg>Add condition to only run `snyk monitor` once on `master`<commit_after>language: go

go:
  - "1.10.x"
  - "1.11.x"

before_install:
  - sudo apt-get install -y nodejs
  - npm install -g snyk

install:
  - go get -t ./...
  - snyk test --org=maxmind

after_success:
  - "if [[ $TRAVIS_BRANCH == 'master' && $TRAVIS_PULL_REQUEST == 'false' && $TRAVIS_GO_VERSION =~ ^1\.11\.[0-9]+$ ]]; then snyk monitor --org=maxmind --project-name=maxmind/geoipupdate2; fi"

env:
  global:
    secure: "<KEY>

{'fraction_non_alphanumeric': 0.1683046683046683, 'fraction_numerical': 0.02334152334152334, 'mean_word_length': 2.7906976744186047, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3038520', 'n_tokens_mistral': 351, 'n_tokens_neox': 334, 'n_words': 80}