diff --git a/appveyor.yml b/appveyor.yml index a0a36567e4d44419b24707102298295e835fe517..e94c63aa29a075b988bbc413d8a861a72b99489b 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -65,17 +65,20 @@ test_script: - "py.test tests/beemgraphene" after_test: - # If tests are successful, create binary packages for the project. - - pyinstaller beempy-onedir.spec - - copy /Y C:\OpenSSL-Win64\bin\libeay32.dll dist\beempy - - copy /Y C:\OpenSSL-Win64\bin\ssleay32.dll dist\beempy - - 7z a beempy.zip %APPVEYOR_BUILD_FOLDER%\dist\beempy - - 7z a -m0=LZMA2 -mx9 $env:BUILD %APPVEYOR_BUILD_FOLDER%\dist\beempy - #- "%CMD_IN_ENV% python setup.py bdist_wininst" - #- "%CMD_IN_ENV% python setup.py bdist_msi" - - (get-filehash $env:BUILD -algorithm SHA256).Hash | out-file ("{0}.sha256" -f $env:BUILD) -encoding ascii - - (get-filehash beempy.zip -algorithm SHA256).Hash | out-file "beempy.zip.sha256" -encoding ascii - - ps: "ls dist" + + - ps: | # If tests are successful, create binary packages for the project. + pyinstaller beempy-onedir.spec + + - ps: | # package artifacts + copy /Y C:\OpenSSL-Win64\bin\libeay32.dll dist\beempy + copy /Y C:\OpenSSL-Win64\bin\ssleay32.dll dist\beempy + 7z a beempy.zip %APPVEYOR_BUILD_FOLDER%\dist\beempy + 7z a -m0=LZMA2 -mx9 $env:BUILD %APPVEYOR_BUILD_FOLDER%\dist\beempy + + - ps: | # generate sha256 hashes + (get-filehash $env:BUILD -algorithm SHA256).Hash | out-file ("{0}.sha256" -f $env:BUILD) -encoding ascii + (get-filehash beempy.zip -algorithm SHA256).Hash | out-file "beempy.zip.sha256" -encoding ascii + artifacts: # Archive the generated packages in the ci.appveyor.com build report.