aboutsummaryrefslogtreecommitdiffstats
path: root/azure-pipelines.yml
diff options
context:
space:
mode:
authorGravatar Mark <[email protected]>2018-11-26 02:42:55 -0800
committerGravatar Leon Sandøy <[email protected]>2018-11-26 11:42:55 +0100
commit36f6952e635c304e7495814530864c748608270d (patch)
tree535bcedaab7762419e03fd666568c68cc77c7c0b /azure-pipelines.yml
parentRestore superstar nickname after member leaves and rejoins (#207) (diff)
Update Dependencies (#196)
* update & clean up dependencies * fix lint errors * move requests to non-dev packages * Empty commit to fix CI * switch discord.py to a git dependency * remove PIPENV_VENV_IN_PROJECT * make pipenv install verbose * specify checkout directory for editable dependencies * exclude cache directory from linting
Diffstat (limited to 'azure-pipelines.yml')
-rw-r--r--azure-pipelines.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml
index bc523fb31..6a63cfe21 100644
--- a/azure-pipelines.yml
+++ b/azure-pipelines.yml
@@ -4,7 +4,6 @@ variables:
PIPENV_HIDE_EMOJIS: 1
PIPENV_IGNORE_VIRTUALENVS: 1
PIPENV_NOSPIN: 1
- PIPENV_VENV_IN_PROJECT: 1
jobs:
- job: test
@@ -12,34 +11,35 @@ jobs:
pool:
vmImage: 'Ubuntu 16.04'
-
+
variables:
PIPENV_CACHE_DIR: ".cache/pipenv"
PIP_CACHE_DIR: ".cache/pip"
+ PIP_SRC: ".cache/src"
steps:
- script: sudo apt-get install build-essential curl docker libffi-dev libfreetype6-dev libxml2 libxml2-dev libxslt1-dev zlib1g zlib1g-dev
displayName: 'Install base dependencies'
-
+
- task: UsePythonVersion@0
displayName: 'Set Python version'
inputs:
- versionSpec: '3.7.x'
- addToPath: true
+ versionSpec: '3.7.x'
+ addToPath: true
- script: sudo pip install pipenv
displayName: 'Install pipenv'
-
+
- script: pipenv install --dev --deploy --system
displayName: 'Install project using pipenv'
-
+
- script: python -m flake8
displayName: 'Run linter'
- job: build
displayName: 'Build Containers'
dependsOn: 'test'
-
+
steps:
- task: Docker@1
displayName: 'Login: Docker Hub'