<commit_before>language: go

go:
  - 1.x
  - tip

os:
  - linux
  - osx

matrix:
  allow_failures:
    - go: tip

install:
  - go get github.com/jteeuwen/go-bindata/...
  - cd client
  - nvm install 11.2.0
  - nvm use 11.2.0
  - npm install -g yarn
  - yarn global add gulp@next
  - yarn

script:
  - yarn test:verbose
  - gulp build
  - cd ..
  - go vet ./...
  - go test -v -race ./...

deploy:
  - provider: script
    skip_cleanup: true
    script: curl -sL https://git.io/goreleaser | bash
    on:
      tags: true
      condition: $TRAVIS_OS_NAME = linux && $TRAVIS_GO_VERSION = 1.*<commit_msg>Discard git changes when doing a release on travis<commit_after>language: go

go:
  - 1.x
  - tip

os:
  - linux
  - osx

matrix:
  allow_failures:
    - go: tip

install:
  - go get github.com/jteeuwen/go-bindata/...
  - cd client
  - nvm install 11.2.0
  - nvm use 11.2.0
  - npm install -g yarn
  - yarn global add gulp@next
  - yarn

script:
  - yarn test:verbose
  - gulp build
  - cd ..
  - go vet ./...
  - go test -v -race ./...

deploy:
  - provider: script
    skip_cleanup: true
    script: git checkout -- . && curl -sL https://git.io/goreleaser | bash
    on:
      tags: true
      condition: $TRAVIS_OS_NAME = linux && $TRAVIS_GO_VERSION = 1.*
{'fraction_non_alphanumeric': 0.1327503974562798, 'fraction_numerical': 0.01589825119236884, 'mean_word_length': 1.8942528735632185, 'pattern_counts': {'":': 0, '<': 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': '442763', 'n_tokens_mistral': 531, 'n_tokens_neox': 495, 'n_words': 135}