From 40def86fdf0817e7a051e8ef1cc35f676a6782a6 Mon Sep 17 00:00:00 2001 From: Ines Montani Date: Sat, 9 Mar 2019 02:56:20 +0100 Subject: [PATCH] Try running flake8 first --- azure-pipelines.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index ce200cc11..822606065 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -8,7 +8,17 @@ trigger: jobs: +# Perform basic checks for most important errors (syntax etc.) Uses the config +# defined in .flake8 and overwrites the selected codes. +- job: 'Validate' + steps: + - script: | + pip install flake8 + python -m flake8 spacy --count --select=E901,E999,F821,F822,F823 --show-source --statistics + displayName: 'flake8' + - job: 'Test' + dependsOn: 'Validate' strategy: matrix: Python27Linux: @@ -61,11 +71,6 @@ jobs: pip install -r requirements.txt displayName: 'Install dependencies' - # Perform basic checks for most important errors (syntax etc.) Uses the config - # defined in .flake8 and overwrites the selected codes. - - script: python -m flake8 spacy --count --select=E901,E999,F821,F822,F823 --show-source --statistics - displayName: 'flake8' - - script: | python setup.py build_ext --inplace pip install -e .