From f80815f574ab1afdff407535333329f29956c762 Mon Sep 17 00:00:00 2001 From: Hiroshi Miura Date: Fri, 15 Mar 2019 08:37:04 +0900 Subject: [PATCH] CI: add python dependency six Signed-off-by: Hiroshi Miura --- .travis.yml | 2 +- azure-pipelines.yml | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index bca8a01..bc07a9a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ language: python python: 3.6 install: -- pip install wheel flake8 requests +- pip install wheel flake8 requests six script: - flake8 diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 53f9ad7..89e23bb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,6 +1,7 @@ variables: qtversion: 5.12.1 + pydepends: requests six jobs: - job: Ubuntu_1604_py3 @@ -12,7 +13,7 @@ jobs: versionSpec: '3.6' architecture: 'x64' - script: | - python -m pip install requests + python -m pip install $(pydepends) python -m pip install flake8 twine wheel flake8 . displayName: 'Run lint tests' @@ -42,7 +43,7 @@ jobs: - script: | sudo apt-get update sudo apt-get -y install p7zip - python -m pip install requests + python -m pip install $(pydepends) - task: PythonScript@0 inputs: scriptSource: filePath @@ -65,7 +66,7 @@ jobs: architecture: 'x64' - script: | brew install p7zip - python -m pip install requests + python -m pip install $(pydepends) - task: PythonScript@0 inputs: scriptSource: filePath @@ -88,7 +89,7 @@ jobs: architecture: 'x64' - script: | cinst -y 7zip - python -m pip install requests + python -m pip install $(pydepends) - task: PythonScript@0 inputs: scriptSource: filePath