X-Git-Url: https://git.openssl.org/gitweb/?p=openssl.git;a=blobdiff_plain;f=appveyor.yml;h=b3165d59d698943ccca4473639f90ba03b4a3660;hp=9c896fc810f228bd782301a73a7a51462cb6d834;hb=604e591ed75eff9296c21ee5fe93f3e9ec246094;hpb=fd74aba83652a8410a74b59de0b098232af74e33 diff --git a/appveyor.yml b/appveyor.yml index 9c896fc810..b3165d59d6 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -31,38 +31,35 @@ before_build: - mkdir _build - cd _build - perl ..\Configure %TARGET% %SHARED% + - perl configdata.pm --dump - cd .. - ps: >- - if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER -or (&git log -2 | Select-String "\[extended tests\]") ) { + if (-not $env:APPVEYOR_PULL_REQUEST_NUMBER` + -or (&git log -2 | Select-String "\[extended tests\]") ) { $env:EXTENDED_TESTS="yes" } build_script: + - cd _build - ps: >- If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { - cd _build - &nmake - cd .. + cmd /c "nmake 2>&1" } + - cd .. test_script: + - cd _build - ps: >- If ($env:Configuration -Match "shared" -or $env:EXTENDED_TESTS) { - cd _build if ($env:EXTENDED_TESTS) { - &nmake test V=1 - mkdir ..\_install - &nmake install install_docs DESTDIR=..\_install + cmd /c "nmake test V=1 2>&1" } Else { - &nmake test V=1 TESTS=-test_fuzz + cmd /c "nmake test V=1 TESTS=-test_fuzz 2>&1" } - cd .. } - -notifications: - - provider: Email - to: - - openssl-commits@openssl.org - on_build_success: false - on_build_failure: true - on_build_status_changed: true + - ps: >- + if ($env:EXTENDED_TESTS) { + mkdir ..\_install + cmd /c "nmake install install_docs DESTDIR=..\_install 2>&1" + } + - cd ..