diff options
| author | 2019-03-24 17:38:04 -0700 | |
|---|---|---|
| committer | 2019-03-24 17:38:04 -0700 | |
| commit | c3d8b0da7c42c18df52649cfc1e7caa4aa0b82c3 (patch) | |
| tree | 612860dbc3e782812510ea11c30cc1b586559176 | |
| parent | CI: Remove setuptools and salt-pepper (diff) | |
CI: Refactor environment variables
* Remove variables from build job
* Move all variables to the test job
* Remove LIBRARY_PATH
* Remove PIPENV_VENV_IN_PROJECT; redundant because of --system option
* Add PIPENV_DONT_USE_PYENV; might save a tiny amount of time?
Diffstat (limited to '')
| -rw-r--r-- | azure-pipelines.yml | 17 | 
1 files changed, 5 insertions, 12 deletions
| diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 4946413a..d603079e 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,12 +1,5 @@  # https://aka.ms/yaml -variables: -  LIBRARY_PATH: /lib:/usr/lib -  PIPENV_HIDE_EMOJIS: 1 -  PIPENV_IGNORE_VIRTUALENVS: 1 -  PIPENV_NOSPIN: 1 -  PIPENV_VENV_IN_PROJECT: 1 -  jobs:  - job: test    displayName: 'Lint & Test' @@ -15,9 +8,13 @@ jobs:      vmImage: 'Ubuntu 16.04'    variables: -    PIPENV_CACHE_DIR: ".cache/pipenv"      PIP_CACHE_DIR: ".cache/pip"      PIP_SRC: ".cache/src" +    PIPENV_CACHE_DIR: ".cache/pipenv" +    PIPENV_DONT_USE_PYENV: 1 +    PIPENV_HIDE_EMOJIS: 1 +    PIPENV_IGNORE_VIRTUALENVS: 1 +    PIPENV_NOSPIN: 1    - task: UsePythonVersion@0      displayName: 'Set Python version' @@ -38,10 +35,6 @@ jobs:    displayName: 'Build Containers'    dependsOn: 'test' -  variables: -    PIPENV_CACHE_DIR: ".cache/pipenv" -    PIP_CACHE_DIR: ".cache/pip" -    steps:    - task: Docker@1      displayName: 'Login: Docker Hub' | 
