From f1ebf2d59e406bf6bbb4a21d5bee14de9314d4c8 Mon Sep 17 00:00:00 2001 From: Matthew Treinish Date: Fri, 27 Mar 2020 08:55:05 -0400 Subject: [PATCH 1/2] Add pip check job to travis config The new pip depsolver is coming this summer. [1] Until it's ready this starts running pip check as part of our CI test jobs to make sure we're not somehow installing conflicting package versions. We shouldn't be, but if we are better to know and start preparing/fixing it now. [1] https://pyfound.blogspot.com/2020/03/new-pip-resolver-to-roll-out-this-year.html --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 212ac2c2b9..f8a8d5f1ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -237,6 +237,13 @@ jobs: if: tag IS blank python: 3.8 script: stestr --test-path test/optimization run + - name: "Run pip check" + <<<: *stage_dependencies + if: tag IS blank + script: + - pip install cvxopt + - pip install https://github.com/rpmuller/pyquante2/archive/master.zip --progress-bar off + - pip check - stage: Coverage name: "Combine all coverages and upload to Coveralls" if: tag IS blank From 5be1428dc61bda304ecb4ed82f2a3484d2d88eaa Mon Sep 17 00:00:00 2001 From: Manoel Marques Date: Fri, 27 Mar 2020 09:33:49 -0400 Subject: [PATCH 2/2] fix job dependency inheritance --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index f8a8d5f1ff..7828e1601e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -238,7 +238,7 @@ jobs: python: 3.8 script: stestr --test-path test/optimization run - name: "Run pip check" - <<<: *stage_dependencies + <<: *stage_dependencies if: tag IS blank script: - pip install cvxopt