From 66c17c54e8f534de063faba8da0b9ca5c1a4080d Mon Sep 17 00:00:00 2001 From: Holger Nahrstaedt <holger@nahrstaedt.de> Date: Fri, 4 May 2018 22:37:19 +0200 Subject: [PATCH] Try to fix appveyor --- appveyor.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index a0a36567..e94c63aa 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. -- GitLab