Skip to content
Snippets Groups Projects
Commit 66c17c54 authored by Holger Nahrstaedt's avatar Holger Nahrstaedt
Browse files

Try to fix appveyor

parent 56ca07b8
No related branches found
No related tags found
No related merge requests found
...@@ -65,17 +65,20 @@ test_script: ...@@ -65,17 +65,20 @@ test_script:
- "py.test tests/beemgraphene" - "py.test tests/beemgraphene"
after_test: after_test:
# If tests are successful, create binary packages for the project.
- pyinstaller beempy-onedir.spec - ps: | # If tests are successful, create binary packages for the project.
- copy /Y C:\OpenSSL-Win64\bin\libeay32.dll dist\beempy pyinstaller beempy-onedir.spec
- copy /Y C:\OpenSSL-Win64\bin\ssleay32.dll dist\beempy
- 7z a beempy.zip %APPVEYOR_BUILD_FOLDER%\dist\beempy - ps: | # package artifacts
- 7z a -m0=LZMA2 -mx9 $env:BUILD %APPVEYOR_BUILD_FOLDER%\dist\beempy copy /Y C:\OpenSSL-Win64\bin\libeay32.dll dist\beempy
#- "%CMD_IN_ENV% python setup.py bdist_wininst" copy /Y C:\OpenSSL-Win64\bin\ssleay32.dll dist\beempy
#- "%CMD_IN_ENV% python setup.py bdist_msi" 7z a beempy.zip %APPVEYOR_BUILD_FOLDER%\dist\beempy
- (get-filehash $env:BUILD -algorithm SHA256).Hash | out-file ("{0}.sha256" -f $env:BUILD) -encoding ascii 7z a -m0=LZMA2 -mx9 $env:BUILD %APPVEYOR_BUILD_FOLDER%\dist\beempy
- (get-filehash beempy.zip -algorithm SHA256).Hash | out-file "beempy.zip.sha256" -encoding ascii
- ps: "ls dist" - 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: artifacts:
# Archive the generated packages in the ci.appveyor.com build report. # Archive the generated packages in the ci.appveyor.com build report.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment