<commit_before>environment:
  PYTHON: "C:\\Python27"
  SYSL_PLANTUML: http://www.plantuml.com/plantuml
  JAVA_HOME: C:\Program Files\Java\jdk1.8.0

install:
  - SET PATH=%PYTHON%;%PYTHON%\\Scripts;%JAVA_HOME%\bin;%PATH%
  - pip install --upgrade setuptools
  - pip install py2exe_py2
  - pip install . pytest flake8
  - choco install gradle

build: off

test_script:
  - pytest
  - flake8
  - gradle --no-daemon -b test\java\build.gradle test

after_test:
  - ps: Start-FileDownload 'http://download.microsoft.com/download/7/9/6/796EF2E4-801B-4FC4-AB28-B59FBF6D907B/VCForPython27.msi' C:\VCForPython27.msi; echo "Done"
  - msiexec /i C:\VCForPython27.msi /quiet /q
  - XCOPY src\libs\google-site-packages-override\__init__.py  C:\Python27\Lib\site-packages\google /Y
  - python setup.py py2exe

deploy:
    provider: GitHub
    release: Sysl $(APPVEYOR_REPO_TAG_NAME)
    tag: $(APPVEYOR_REPO_TAG_NAME)
    artifact: dist\sysl.exe
    draft: true
    prerelease: true
    repository: anz-bank/sysl
    auth_token:
      secure: <KEY>
    on:
      appveyor_repo_tag: true

<commit_msg>Fix appveyor artefact creation (#94)<commit_after>environment:
  PYTHON: "C:\\Python27"
  SYSL_PLANTUML: http://www.plantuml.com/plantuml
  JAVA_HOME: C:\Program Files\Java\jdk1.8.0

install:
  - SET PATH=%PYTHON%;%PYTHON%\\Scripts;%JAVA_HOME%\bin;%PATH%
  - pip install --upgrade setuptools
  - pip install py2exe_py2
  - pip install . pytest flake8
  - choco install gradle

build: off

test_script:
  - pytest
  - flake8
  - gradle --no-daemon -b test\java\build.gradle test

after_test:
  - ps: Start-FileDownload 'http://download.microsoft.com/download/7/9/6/796EF2E4-801B-4FC4-AB28-B59FBF6D907B/VCForPython27.msi' C:\VCForPython27.msi; echo "Done"
  - msiexec /i C:\VCForPython27.msi /quiet /q
  - XCOPY src\libs\google-site-packages-override\__init__.py  C:\Python27\Lib\site-packages\google /Y
  - python setup.py py2exe

artifacts:
  - path: dist\sysl.exe

deploy:
    provider: GitHub
    release: Sysl $(APPVEYOR_REPO_TAG_NAME)
    tag: $(APPVEYOR_REPO_TAG_NAME)
    artifact: dist\sysl.exe
    draft: true
    prerelease: true
    repository: anz-bank/sysl
    auth_token:
      secure: <KEY>
    on:
      appveyor_repo_tag: true


{'fraction_non_alphanumeric': 0.1256168685509197, 'fraction_numerical': 0.03589053387169134, 'mean_word_length': 3.296724470134875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '1941156', 'n_tokens_mistral': 977, 'n_tokens_neox': 905, 'n_words': 159}