<commit_before>version: build-{build}.{branch}
image: Visual Studio 2017
clone_folder: C:\gopath\src\github.com\nebtex\menshend
shallow_clone: true

hosts:
  vault.localhost: 127.0.0.1

environment:
  GOPATH: C:\gopath

platform:
  - x64

build: off

install:
  - go version
  - go env
  - ps: Start-FileDownload 'https://github.com/Masterminds/glide/releases/download/v0.12.3/glide-v0.12.3-windows-amd64.zip'
  - 7z e glide-v0.12.3-windows-amd64.zip -y
  - curl -fsSL -o vault.zip https://releases.hashicorp.com/vault/0.7.0/vault_0.7.0_windows_amd64.zip
  - 7z e vault.zip -y
  - ps: $VaultProcess = Start-Process vault -ArgumentList 'server','-dev','-dev-root-token-id=myroot' -PassThru

on_finish:
  - ps: Stop-Process -Id $VaultProcess.Id

test_script:
  - glide install
  - go get github.com/rakyll/statik
  - ls C:\gopath\bin
  - rm -rf statik
  - statik -src=ui
  - |
    echo "package statik
    func Index() http.Handler {
        return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

        })
    }" > statik/index.go
  - go test -v  ./cmd/menshend ./pkg/apis/menshend/v1 ./pkg/config ./pkg/filters ./pkg/pfclient ./pkg/pfclient/chisel/client ./pkg/pfclient/chisel/server ./pkg/resolvers ./pkg/resolvers/cache ./pkg/strategy ./pkg/utils ./pkg/utils/test

deploy: off
<commit_msg>fix appvenyor build<commit_after>version: build-{build}.{branch}
image: Visual Studio 2017
clone_folder: C:\gopath\src\github.com\nebtex\menshend
shallow_clone: true

hosts:
  vault.localhost: 127.0.0.1

environment:
  GOPATH: C:\gopath

platform:
  - x64

build: off

install:
  - go version
  - go env
  - ps: Start-FileDownload 'https://github.com/Masterminds/glide/releases/download/v0.12.3/glide-v0.12.3-windows-amd64.zip'
  - 7z e glide-v0.12.3-windows-amd64.zip -y
  - curl -fsSL -o vault.zip https://releases.hashicorp.com/vault/0.7.0/vault_0.7.0_windows_amd64.zip
  - 7z e vault.zip -y
  - ps: $VaultProcess = Start-Process vault -ArgumentList 'server','-dev','-dev-root-token-id=<PASSWORD>' -PassThru

on_finish:
  - ps: Stop-Process -Id $VaultProcess.Id

test_script:
  - glide install
  - go get github.com/rakyll/statik
  - ls C:\gopath\bin
  - rm -rf statik
  - C:\gopath\bin\statik.exe -src=ui
  - |
    echo "package statik
    func Index() http.Handler {
        return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {

        })
    }" > statik/index.go
  - go test -v  ./cmd/menshend ./pkg/apis/menshend/v1 ./pkg/config ./pkg/filters ./pkg/pfclient ./pkg/pfclient/chisel/client ./pkg/pfclient/chisel/server ./pkg/resolvers ./pkg/resolvers/cache ./pkg/strategy ./pkg/utils ./pkg/utils/test

deploy: off

{'fraction_non_alphanumeric': 0.15381708238851097, 'fraction_numerical': 0.02947845804988662, 'mean_word_length': 2.944858420268256, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 6, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2426165', 'n_tokens_mistral': 1091, 'n_tokens_neox': 1030, 'n_words': 192}