<commit_before>version: 3.8.0.{build}

shallow_clone: true

platform:
  - x64

os: Visual Studio 2015

environment:
  BOOST_ROOT: C:\Libraries\boost
  BOOST_LIBRARYDIR: C:\Libraries\boost\stage\lib
  matrix:
    - MSYS2_ARCH: x86_64

cache:
  - C:\mingw64
  - C:\externals-siconos -> appveyor.yml

init:
  # Disable popups
  - reg add "HKLM\SYSTEM\CurrentControlSet\Control\Windows" /f /v ErrorMode /d 2
  - reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /f /v DontShowUI /d 1


install:
  #  - C:\msys64\usr\bin\bash -lc "for i in {1..3}; do pacman --noconfirm -S gcc gcc-fortran swig && break || sleep 15; done"
    #  - set PATH=C:\Python27\scripts;%PATH%
    #  - pip install lxml numpy scipy pytest
  - echo %PATH%
  - cd C:\
  - ps: |
      if ( -Not (Test-Path "C:\mingw64")) {
        # Install MinGW.
        Invoke-WebRequest -UserAgent wget -Uri "http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/5.2.0/threads-posix/seh/x86_64-5.2.0-release-posix-seh-rt_v4-rev0.7z/download" -OutFile "mingw64-toolchain.7z"
        &7z x -oC:\ "mingw64-toolchain.7z" > $null
        }
      if ( -Not (Test-Path "C:\externals-siconos")) {
        $file = "siconos-dep-mingw64-msys1.zip"
        $url = "http://siconos.gforge.inria.fr/windows/"
        $url += $file
        Invoke-WebRequest -UserAgent wget -Uri $url -OutFile $file
        &7z x -oC:\ $file > $null
      }

build_script:
  - echo %cd%
    #  - set PATH=%PATH%;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\bin\opt\bin
  - set PATH=C:\mingw64;%PATH%;C:\MinGW\msys\1.0\bin
  - mkdir builddir
  - cd builddir
  - C:\projects\siconos\Build\Windows\build-siconos-appveyor.bat C:\projects\siconos

test_script:
  - ctest -D ExperimentalStart
  - ctest -D ExperimentalTest -j2
  - ctest -D ExperimentalSubmit

notifications:
- provider: Email
  to:
  - <EMAIL>
  on_build_success: false
  on_build_failure: true
  on_build_status_changed: true<commit_msg>[appveyor] fix path<commit_after>version: 3.8.0.{build}

shallow_clone: true

platform:
  - x64

os: Visual Studio 2015

environment:
  BOOST_ROOT: C:\Libraries\boost
  BOOST_LIBRARYDIR: C:\Libraries\boost\stage\lib
  matrix:
    - MSYS2_ARCH: x86_64

cache:
  - C:\mingw64
  - C:\externals-siconos -> appveyor.yml

init:
  # Disable popups
  - reg add "HKLM\SYSTEM\CurrentControlSet\Control\Windows" /f /v ErrorMode /d 2
  - reg add "HKLM\Software\Microsoft\Windows\Windows Error Reporting" /f /v DontShowUI /d 1


install:
  #  - C:\msys64\usr\bin\bash -lc "for i in {1..3}; do pacman --noconfirm -S gcc gcc-fortran swig && break || sleep 15; done"
    #  - set PATH=C:\Python27\scripts;%PATH%
    #  - pip install lxml numpy scipy pytest
  - echo %PATH%
  - cd C:\
  - ps: |
      if ( -Not (Test-Path "C:\mingw64")) {
        # Install MinGW.
        Invoke-WebRequest -UserAgent wget -Uri "http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/mingw-builds/5.2.0/threads-posix/seh/x86_64-5.2.0-release-posix-seh-rt_v4-rev0.7z/download" -OutFile "mingw64-toolchain.7z"
        &7z x -oC:\ "mingw64-toolchain.7z" > $null
        }
      if ( -Not (Test-Path "C:\externals-siconos")) {
        $file = "siconos-dep-mingw64-msys1.zip"
        $url = "http://siconos.gforge.inria.fr/windows/"
        $url += $file
        Invoke-WebRequest -UserAgent wget -Uri $url -OutFile $file
        &7z x -oC:\ $file > $null
      }

build_script:
  - echo %cd%
    #  - set PATH=%PATH%;C:\msys64\usr\local\bin;C:\msys64\usr\bin;C:\msys64\bin\opt\bin
  - set PATH=C:\mingw64\bin;%PATH%;C:\MinGW\msys\1.0\bin
  - mkdir builddir
  - cd builddir
  - C:\projects\siconos\Build\Windows\build-siconos-appveyor.bat C:\projects\siconos

test_script:
  - ctest -D ExperimentalStart
  - ctest -D ExperimentalTest -j2
  - ctest -D ExperimentalSubmit

notifications:
- provider: Email
  to:
  - <EMAIL>
  on_build_success: false
  on_build_failure: true
  on_build_status_changed: true
{'fraction_non_alphanumeric': 0.1475287069395906, 'fraction_numerical': 0.036445332001997004, 'mean_word_length': 2.80893536121673, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, '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': '2518689', 'n_tokens_mistral': 1707, 'n_tokens_neox': 1591, 'n_words': 299}