Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e48ebbd commit dce55e2Copy full SHA for dce55e2
1 file changed
.circleci/config.yml
@@ -104,7 +104,15 @@ commands:
104
steps:
105
- run:
106
name: Install Matplotlib
107
- command: python -m pip install --user -ve .
+ command: |
108
+ if [[ "$CIRCLE_BRANCH" == v*-doc ]]; then
109
+ # The v*-doc branches must build against the specified release.
110
+ version=${CIRCLE_BRANCH%-doc}
111
+ version=${version#v}
112
+ python -m pip install matplotlib==${version}
113
+ else
114
+ python -m pip install --user -ve .
115
+ fi
116
- save_cache:
117
key: build-deps-1
118
paths:
0 commit comments