From 064ea755c4ca2570fa523e1fd64478ca1267dd96 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Fri, 14 Jun 2019 21:18:56 +0200 Subject: [PATCH] Add requirements-ci.txt --- .appveyor.yml | 9 +++++---- .travis.yml | 2 +- requirements-ci.txt | 1 + 3 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 requirements-ci.txt 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