From e8a559f7293e48193f4c665f1594e5774ce18ba9 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Fri, 19 Jun 2020 16:59:51 -0400 Subject: [PATCH] Fix azure pipelines (#430) In #422 the azure pipelines jobs were updated to simplify the dependency installation to no longer require build scs against openblas. However there was a bug in that which caused the jobs to not really run, but still return success. This commit corrects the oversight so we're still running CI for windows and actually testing it. --- azure-pipelines.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 02e634c64..4cce9d8bc 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -70,11 +70,13 @@ jobs: displayName: Add conda to PATH - script: conda create --yes --quiet --name qiskit-ignis python=%PYTHON_VERSION% displayName: Create Anaconda environment - - script: | - call activate qiskit-ignis + - bash: | + set -e + set -x + source activate qiskit-ignis conda config --add channels conda-forge - conda install cvxopt + conda install cvxopt -y python -m pip install -c constraints.txt --upgrade pip virtualenv setuptools pip install -c constraints.txt -U tox - tox --sitepackages -e%TOXENV% + tox --sitepackages displayName: 'Install dependencies and run tests'