diff --git a/.appveyor.yml b/.appveyor.yml index 20d05a2..8d041e6 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -5,12 +5,13 @@ environment: install: - 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: - - cmd: python -m cibuildwheel --output-dir windows-tgcrypto-wheels - - ps: Compress-Archive windows-tgcrypto-wheels/* windows-tgcrypto-wheels.zip + - cmd: cibuildwheel --output-dir %BUILD_OUTPUT_PATH% + - ps: Compress-Archive "$env:BUILD_OUTPUT_PATH/*" "$env:BUILD_OUTPUT_PATH.zip" artifacts: - - path: "windows-tgcrypto-wheels.zip" + - path: "$(BUILD_OUTPUT_PATH).zip" name: wheels \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index 8fccb37..6e17d3d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,7 +16,7 @@ matrix: - sudo: required services: docker -install: pip3 install cibuildwheel +install: pip3 install -r requirements-ci.txt script: - cibuildwheel --output-dir $BUILD_OUTPUT_PATH diff --git a/requirements-ci.txt b/requirements-ci.txt new file mode 100644 index 0000000..68a965a --- /dev/null +++ b/requirements-ci.txt @@ -0,0 +1 @@ +cibuildwheel \ No newline at end of file