<commit_before>build: false

for:
- branches:
    only:
      - /.*/
  environment:
    matrix:
      - PYTHON: "C:\\Python27"
        PYTHONVERSION: 2.7
        ARCHITECTURE: "i386"
        MINICONDA: "C:\\Miniconda"
        ENERGYPLUS_VERSION: "8.9.0"
        ENERGYPLUS_SHA: "40101eaafd"
      - PYTHON: "C:\\Python27-x64"
        PYTHONVERSION: 2.7
        ARCHITECTURE: "x86_64"
        MINICONDA: "C:\\Miniconda"
        ENERGYPLUS_VERSION: "8.9.0"
        ENERGYPLUS_SHA: "40101eaafd"
      - PYTHON: "C:\\Python37"
        PYTHONVERSION: 3.7
        ARCHITECTURE: "i386"
        MINICONDA: "C:\\Miniconda37"
        ENERGYPLUS_VERSION: "8.9.0"
        ENERGYPLUS_SHA: "40101eaafd"
      - PYTHON: "C:\\Python37-x64"
        PYTHONVERSION: 3.7
        ARCHITECTURE: "x86_64"
        MINICONDA: "C:\\Miniconda37-x64"
        ENERGYPLUS_VERSION: "8.9.0"
        ENERGYPLUS_SHA: "40101eaafd"

-
  branches:
    only:
      - master
  environment:
    matrix:
      - PYTHON: "C:\\Python27"
        PYTHONVERSION: 2.7
        ARCHITECTURE: "i386"
        MINICONDA: "C:\\Miniconda"
        ENERGYPLUS_VERSION: "8.9.0"
        ENERGYPLUS_SHA: "40101eaafd"
      - PYTHON: "C:\\Python27-x64"
        PYTHONVERSION: 2.7
        ARCHITECTURE: "x86_64"
        MINICONDA: "C:\\Miniconda"
        ENERGYPLUS_VERSION: "8.9.0"
        ENERGYPLUS_SHA: "40101eaafd"

      - PYTHON: "C:\\Python37"
        PYTHONVERSION: 3.7
        ARCHITECTURE: "i386"
        MINICONDA: "C:\\Miniconda37"
        ENERGYPLUS_VERSION: "8.8.0"
        ENERGYPLUS_SHA: "7c3bbe4830"
      - PYTHON: "C:\\Python37-x64"
        PYTHONVERSION: 3.7
        ARCHITECTURE: "x86_64"
        MINICONDA: "C:\\Miniconda37-x64"
        ENERGYPLUS_VERSION: "8.8.0"
        ENERGYPLUS_SHA: "7c3bbe4830"
      - PYTHON: "C:\\Python37"
        PYTHONVERSION: 3.7
        ARCHITECTURE: "i386"
        MINICONDA: "C:\\Miniconda37"
        ENERGYPLUS_VERSION: "8.9.0"
        ENERGYPLUS_SHA: "40101eaafd"
      - PYTHON: "C:\\Python37-x64"
        PYTHONVERSION: 3.7
        ARCHITECTURE: "x86_64"
        MINICONDA: "C:\\Miniconda37-x64"
        ENERGYPLUS_VERSION: "8.9.0"
        ENERGYPLUS_SHA: "40101eaafd"

install:
  # set up Miniconda test environment
  - "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
  - conda config --set always_yes yes --set changeps1 no
  - conda info -a
  - conda update -q conda
  - "conda create -n test-env python=%PYTHONVERSION% pytest lxml"
  - "activate test-env"

  - ECHO "Filesystem root:"
  - ps: "ls \"C:/\""

  - ECHO "Installed SDKs:"
  - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
  # install EnergyPlus
  - ECHO "Installing EnergyPlus"
  - ps: $env:ENERGYPLUS_INSTALL_VERSION = $env:ENERGYPLUS_VERSION -replace '\.','-'
  - ps: $env:ENERGYPLUS_DOWNLOAD_BASE_URL = "https://github.com/NREL/EnergyPlus/releases/download/v$env:ENERGYPLUS_VERSION"
  - ps: $env:ENERGYPLUS_DOWNLOAD_FILENAME = "EnergyPlus-$env:ENERGYPLUS_VERSION-$env:ENERGYPLUS_SHA-Windows-$env:ARCHITECTURE.exe"
  - ps: $env:ENERGYPLUS_DOWNLOAD_URL = "$env:ENERGYPLUS_DOWNLOAD_BASE_URL/$env:ENERGYPLUS_DOWNLOAD_FILENAME"

  - ps: "curl $env:ENERGYPLUS_DOWNLOAD_URL -OutFile $env:TMP\\$env:ENERGYPLUS_DOWNLOAD_FILENAME"
  - ps: "& $env:TMP\\$env:ENERGYPLUS_DOWNLOAD_FILENAME /S | Out-Null"

  - ps: echo $env:PYTHON
<commit_msg>Test only current version of EnergyPlus on Windows<commit_after>build: false

for:
- branches:
    only:
      - /.*/
  environment:
    matrix:
      - PYTHON: "C:\\Python27"
        PYTHONVERSION: 2.7
        ARCHITECTURE: "i386"
        MINICONDA: "C:\\Miniconda"
        ENERGYPLUS_VERSION: "9.0.1"
        ENERGYPLUS_SHA: "bb7ca4f0da"
      - PYTHON: "C:\\Python27-x64"
        PYTHONVERSION: 2.7
        ARCHITECTURE: "x86_64"
        MINICONDA: "C:\\Miniconda"
        ENERGYPLUS_VERSION: "9.0.1"
        ENERGYPLUS_SHA: "bb7ca4f0da"
      - PYTHON: "C:\\Python37"
        PYTHONVERSION: 3.7
        ARCHITECTURE: "i386"
        MINICONDA: "C:\\Miniconda37"
        ENERGYPLUS_VERSION: "9.0.1"
        ENERGYPLUS_SHA: "bb7ca4f0da"
      - PYTHON: "C:\\Python37-x64"
        PYTHONVERSION: 3.7
        ARCHITECTURE: "x86_64"
        MINICONDA: "C:\\Miniconda37-x64"
        ENERGYPLUS_VERSION: "9.0.1"
        ENERGYPLUS_SHA: "bb7ca4f0da"

-
  branches:
    only:
      - master
  environment:
    matrix:
      - PYTHON: "C:\\Python27"
        PYTHONVERSION: 2.7
        ARCHITECTURE: "i386"
        MINICONDA: "C:\\Miniconda"
        ENERGYPLUS_VERSION: "9.0.1"
        ENERGYPLUS_SHA: "bb7ca4f0da"
      - PYTHON: "C:\\Python27-x64"
        PYTHONVERSION: 2.7
        ARCHITECTURE: "x86_64"
        MINICONDA: "C:\\Miniconda"
        ENERGYPLUS_VERSION: "9.0.1"
        ENERGYPLUS_SHA: "bb7ca4f0da"

      - PYTHON: "C:\\Python37"
        PYTHONVERSION: 3.7
        ARCHITECTURE: "i386"
        MINICONDA: "C:\\Miniconda37"
        ENERGYPLUS_VERSION: "9.0.1"
        ENERGYPLUS_SHA: "bb7ca4f0da"
      - PYTHON: "C:\\Python37-x64"
        PYTHONVERSION: 3.7
        ARCHITECTURE: "x86_64"
        MINICONDA: "C:\\Miniconda37-x64"
        ENERGYPLUS_VERSION: "9.0.1"
        ENERGYPLUS_SHA: "bb7ca4f0da"

install:
  # set up Miniconda test environment
  - "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
  - conda config --set always_yes yes --set changeps1 no
  - conda info -a
  - conda update -q conda
  - "conda create -n test-env python=%PYTHONVERSION% pytest lxml"
  - "activate test-env"

  - ECHO "Filesystem root:"
  - ps: "ls \"C:/\""

  - ECHO "Installed SDKs:"
  - ps: "ls \"C:/Program Files/Microsoft SDKs/Windows\""
  # install EnergyPlus
  - ECHO "Installing EnergyPlus"
  - ps: $env:ENERGYPLUS_INSTALL_VERSION = $env:ENERGYPLUS_VERSION -replace '\.','-'
  - ps: $env:ENERGYPLUS_DOWNLOAD_BASE_URL = "https://github.com/NREL/EnergyPlus/releases/download/v$env:ENERGYPLUS_VERSION"
  - ps: $env:ENERGYPLUS_DOWNLOAD_FILENAME = "EnergyPlus-$env:ENERGYPLUS_VERSION-$env:ENERGYPLUS_SHA-Windows-$env:ARCHITECTURE.exe"
  - ps: $env:ENERGYPLUS_DOWNLOAD_URL = "$env:ENERGYPLUS_DOWNLOAD_BASE_URL/$env:ENERGYPLUS_DOWNLOAD_FILENAME"

  - ps: "curl $env:ENERGYPLUS_DOWNLOAD_URL -OutFile $env:TMP\\$env:ENERGYPLUS_DOWNLOAD_FILENAME"
  - ps: "& $env:TMP\\$env:ENERGYPLUS_DOWNLOAD_FILENAME /S | Out-Null"

  - ps: echo $env:PYTHON

{'fraction_non_alphanumeric': 0.13702577237073796, 'fraction_numerical': 0.050424203617736515, 'mean_word_length': 2.529943502824859, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4839162', 'n_tokens_mistral': 2949, 'n_tokens_neox': 2602, 'n_words': 399}