Add requirements-ci.txt

This commit is contained in:
Dan 2019-06-14 21:18:56 +02:00
parent 2efd3e00ec
commit 064ea755c4
3 changed files with 7 additions and 5 deletions

View File

@ -5,12 +5,13 @@ environment:
install: install:
- set PATH=C:\Python37;%PATH% - set PATH=C:\Python37;%PATH%
- cmd: python -m pip install cibuildwheel - set BUILD_OUTPUT_PATH=windows-tgcrypto-wheels
- cmd: pip install -r requirements-ci.txt
build_script: build_script:
- cmd: python -m cibuildwheel --output-dir windows-tgcrypto-wheels - cmd: cibuildwheel --output-dir %BUILD_OUTPUT_PATH%
- ps: Compress-Archive windows-tgcrypto-wheels/* windows-tgcrypto-wheels.zip - ps: Compress-Archive "$env:BUILD_OUTPUT_PATH/*" "$env:BUILD_OUTPUT_PATH.zip"
artifacts: artifacts:
- path: "windows-tgcrypto-wheels.zip" - path: "$(BUILD_OUTPUT_PATH).zip"
name: wheels name: wheels

View File

@ -16,7 +16,7 @@ matrix:
- sudo: required - sudo: required
services: docker services: docker
install: pip3 install cibuildwheel install: pip3 install -r requirements-ci.txt
script: script:
- cibuildwheel --output-dir $BUILD_OUTPUT_PATH - cibuildwheel --output-dir $BUILD_OUTPUT_PATH

1
requirements-ci.txt Normal file
View File

@ -0,0 +1 @@
cibuildwheel