<commit_before>kind: pipeline
type: exec
name: build

platform:
  os: linux
  arch: amd64

workspace:
  base: /root/drone-go
  path: src/git.xiagaogao.com/coffee/httpx

steps:
  - name: build
    environment:
      GOPROXY: https://goproxy.io
      GOPRIVATE: git.xiagaogao.com
      GOSUMDB: sum.golang.google.cn
    commands:
      - echo $USERNAME $PASSWORD
      - ln -s /root/.netrc ~/.netrc
      - ln -s /root/.gitconfig ~/.gitconfig
      - go mod tidy
    when:
      branch:
        include:
          - feature/*
          - master
          - dev
      event:
        include:
          - push<commit_msg>2020-03-05 add drone v2<commit_after>kind: pipeline
type: exec
name: build

platform:
  os: linux
  arch: amd64

workspace:
  base: /root/drone-go
  path: src/git.xiagaogao.com/coffee/httpx

steps:
  - name: build
    environment:
      GOPROXY: https://goproxy.io
      GOPRIVATE: git.xiagaogao.com
      GOSUMDB: sum.golang.google.cn
    commands:
      - echo $USERNAME $PASSWORD
      - cat ~/.netrc
      - ln -s /root/.netrc ~/.netrc
      - ln -s /root/.gitconfig ~/.gitconfig
      - go mod tidy
    when:
      branch:
        include:
          - feature/*
          - master
          - dev
      event:
        include:
          - push
{'fraction_non_alphanumeric': 0.11225296442687747, 'fraction_numerical': 0.010276679841897233, 'mean_word_length': 1.6375, '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': '7262391', 'n_tokens_mistral': 473, 'n_tokens_neox': 446, 'n_words': 104}