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

next one

parent dc075477
No related branches found
No related tags found
No related merge requests found
......@@ -38,20 +38,19 @@ install:
$env:APPVEYOR_REPO_BRANCH, $env:APPVEYOR_PULL_REQUEST_NUMBER
$env:BRANCH = $env:BRANCH -replace "/#$"
- ps: | # Installed SDKs:
#- set "PATH=%PYTHON%;%PYTHON%\\Scripts;%PYTHON%\\Tools\\Scripts;%PATH%"
set "PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
#- set VCINSTALLDIR="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC"
# call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
set CL=-FI"%VCINSTALLDIR%\INCLUDE\stdint.h"
conda config --set always_yes yes --set changeps1 no
conda config --add channels conda-forge
conda config --add channels wheeler-microfluidics
conda update -q conda
conda info -a
conda install --yes conda-build setuptools pip pytest-pylint parameterized cryptography
conda install --yes pycryptodomex scrypt pyyaml pytest pytest-mock coverage mock appdirs
conda install --yes ecdsa requests future websocket-client pytz six Click events prettytable pyinstaller
#- set "PATH=%PYTHON%;%PYTHON%\\Scripts;%PYTHON%\\Tools\\Scripts;%PATH%"
- cmd: set "PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%"
#- set VCINSTALLDIR="C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC"
- cmd: call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat"
- cmd: set CL=-FI"%VCINSTALLDIR%\INCLUDE\stdint.h"
- cmd: conda config --set always_yes yes --set changeps1 no
- cmd: conda config --add channels conda-forge
- cmd: conda config --add channels wheeler-microfluidics
- cmd: conda update -q conda
- cmd: conda info -a
- cmd: conda install --yes conda-build setuptools pip pytest-pylint parameterized cryptography
- cmd: conda install --yes pycryptodomex scrypt pyyaml pytest pytest-mock coverage mock appdirs
- cmd: conda install --yes ecdsa requests future websocket-client pytz six Click events prettytable pyinstaller
# Upgrade to the latest version of pip to avoid it displaying warnings
......@@ -62,23 +61,23 @@ install:
# - "pip install --user --upgrade graphenelib"
build_script:
- ps: | # Build the compiled extension
python setup.py build
# Build the compiled extension
- cmd: python setup.py build
test_script:
- ps: | # Run the project tests
py.test tests/beembase
py.test tests/beemgraphene
# Run the project tests
- cmd: py.test tests/beembase
- cmd: py.test tests/beemgraphene
after_test:
- ps: | # If tests are successful, create binary packages for the project.
pyinstaller beempy-onedir.spec
# If tests are successful, create binary packages for the project.
- cmd: 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
# package artifacts
- cmd: copy /Y C:\OpenSSL-Win64\bin\libeay32.dll dist\beempy
- cmd: copy /Y C:\OpenSSL-Win64\bin\ssleay32.dll dist\beempy
- ps: 7z a beempy.zip %APPVEYOR_BUILD_FOLDER%\dist\beempy
- ps: 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
......@@ -95,6 +94,6 @@ artifacts:
- path: beempy.zip.sha256
name: beempy_zip sha256 hash
# on_finish:
# - ps: | # update appveyor build version, done last to prevent webhook breakage
# update-appveyorbuild -version $env:AVVER
\ No newline at end of file
on_finish:
- ps: | # update appveyor build version, done last to prevent webhook breakage
update-appveyorbuild -version $env:AVVER
\ No newline at end of file
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