<commit_before># version format
version: 0.1.{build}-{branch}

skip_tags: false

skip_commits:
  message: /.*\[ci skip\]/       # Regex for matching commit message

# clone directory
clone_folder: c:\projects\ministaller

environment:
  GOPATH: c:\gopath

clone_depth: 3                      # clone entire repository history if not defined

before_build:
  - go version
  - go get github.com/Ribtoks/gform
  - go get gopkg.in/natefinch/lumberjack.v2

build_script:
  - cmd: 'cd src'
  - go build -o ministaller.exe

after_build:
  - cmd: 'echo %cd%'
  - 7z a ministaller-latest.zip ministaller.exe
  - appveyor PushArtifact ministaller-latest.zip

before_test:
  - cmd: 'cd c:\projects\ministaller\src'
  - ps: wget 'https://github.com/Ribtoks/xpiks/releases/download/v1.1/Xpiks-qt-v1.1.3.zip' -OutFile "$pwd\xpiks-qt-v1.1.3.zip"
  - ps: 7z.exe x xpiks-qt-v1.1.3.zip -oC:\xpiks-qt-v1.1.3
  - ps: 7z.exe x xpiks-qt-v1.1.3.zip -oC:\xpiks-qt-v1.1.3-revert
  - ps: 7z.exe x xpiks-qt-v1.1.3.zip -oC:\xpiks-qt-v1.1.3-orig
  - ps: wget 'https://github.com/Ribtoks/xpiks/releases/download/v1.3.4/xpiks-qt-v1.3.4.zip' -OutFile "$pwd\xpiks-qt-v1.3.4.zip"
  - ps: 7z.exe x xpiks-qt-v1.3.4.zip -oC:\xpiks-qt-v1.3.4

test_script:
  - cmd: 'echo %cd%'
  - cmd: 'ministaller.exe -url "https://github.com/Ribtoks/xpiks/releases/download/v1.3.4/xpiks-qt-v1.3.4.zip" -hash "ea3c9864af5702fe835c9005aebaacea47717dc3" -stdout -install-path "c:/xpiks-qt-v1.1.3/xpiks-qt-v1.1.3"'
  - diff -r c:\xpiks-qt-v1.1.3\xpiks-qt-v1.1.3 c:\xpiks-qt-v1.3.4\xpiks-qt-v1.3.4
  - cmd: 'ministaller.exe -stdout -install-path "c:/xpiks-qt-v1.1.3-revert/xpiks-qt-v1.1.3" -package-path "xpiks-qt-v1.3.4.zip" -fail'
  - diff -r c:\xpiks-qt-v1.1.3-revert\xpiks-qt-v1.1.3 c:\xpiks-qt-v1.1.3-orig\xpiks-qt-v1.1.3
<commit_msg>Case fix<commit_after># version format
version: 0.1.{build}-{branch}

skip_tags: false

skip_commits:
  message: /.*\[ci skip\]/       # Regex for matching commit message

# clone directory
clone_folder: c:\projects\ministaller

environment:
  GOPATH: c:\gopath

clone_depth: 3                      # clone entire repository history if not defined

before_build:
  - go version
  - go get github.com/ribtoks/gform
  - go get gopkg.in/natefinch/lumberjack.v2

build_script:
  - cmd: 'cd src'
  - go build -o ministaller.exe

after_build:
  - cmd: 'echo %cd%'
  - 7z a ministaller-latest.zip ministaller.exe
  - appveyor PushArtifact ministaller-latest.zip

before_test:
  - cmd: 'cd c:\projects\ministaller\src'
  - ps: wget 'https://github.com/Ribtoks/xpiks/releases/download/v1.1/Xpiks-qt-v1.1.3.zip' -OutFile "$pwd\xpiks-qt-v1.1.3.zip"
  - ps: 7z.exe x xpiks-qt-v1.1.3.zip -oC:\xpiks-qt-v1.1.3
  - ps: 7z.exe x xpiks-qt-v1.1.3.zip -oC:\xpiks-qt-v1.1.3-revert
  - ps: 7z.exe x xpiks-qt-v1.1.3.zip -oC:\xpiks-qt-v1.1.3-orig
  - ps: wget 'https://github.com/Ribtoks/xpiks/releases/download/v1.3.4/xpiks-qt-v1.3.4.zip' -OutFile "$pwd\xpiks-qt-v1.3.4.zip"
  - ps: 7z.exe x xpiks-qt-v1.3.4.zip -oC:\xpiks-qt-v1.3.4

test_script:
  - cmd: 'echo %cd%'
  - cmd: 'ministaller.exe -url "https://github.com/Ribtoks/xpiks/releases/download/v1.3.4/xpiks-qt-v1.3.4.zip" -hash "ea3c9864af5702fe835c9005aebaacea47717dc3" -stdout -install-path "c:/xpiks-qt-v1.1.3/xpiks-qt-v1.1.3"'
  - diff -r c:\xpiks-qt-v1.1.3\xpiks-qt-v1.1.3 c:\xpiks-qt-v1.3.4\xpiks-qt-v1.3.4
  - cmd: 'ministaller.exe -stdout -install-path "c:/xpiks-qt-v1.1.3-revert/xpiks-qt-v1.1.3" -package-path "xpiks-qt-v1.3.4.zip" -fail'
  - diff -r c:\xpiks-qt-v1.1.3-revert\xpiks-qt-v1.1.3 c:\xpiks-qt-v1.1.3-orig\xpiks-qt-v1.1.3

{'fraction_non_alphanumeric': 0.18713121663388593, 'fraction_numerical': 0.0657488058443383, 'mean_word_length': 2.7872340425531914, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2426179', 'n_tokens_mistral': 1857, 'n_tokens_neox': 1778, 'n_words': 247}