diff options
author | 2019-03-24 17:47:15 -0700 | |
---|---|---|
committer | 2019-03-24 17:47:15 -0700 | |
commit | 5f92523d6402edcbce2a16d848a23679af15de3b (patch) | |
tree | 8931243a3235460be60c90fa12e7555a94aa0310 | |
parent | CI: Refactor environment variables (diff) |
CI: Remove sudo from installation of pipenv
* Use Python3 versions for commands (python3/pip3)
* Fix syntax (missing key for block)
-rw-r--r-- | azure-pipelines.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index d603079e..c98bc4fc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -16,19 +16,20 @@ jobs: PIPENV_IGNORE_VIRTUALENVS: 1 PIPENV_NOSPIN: 1 + steps: - task: UsePythonVersion@0 displayName: 'Set Python version' inputs: versionSpec: '3.7.x' addToPath: true - - script: sudo pip install pipenv + - script: pip3 install pipenv displayName: 'Install pipenv' - script: pipenv install --dev --deploy --system displayName: 'Install project using pipenv' - - script: python -m flake8 + - script: python3 -m flake8 displayName: 'Run linter' - job: build |