Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
ci: Install doc requirements in user directory.
The docker image does not appear to be running as root.
  • Loading branch information
QuLogic committed Jul 20, 2017
commit cc078430b37fa549a0e22536a1c0f48a0ff81b5a
26 changes: 13 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,17 @@ jobs:
- run: fc-cache -f -v

# Upgrade pip and setuptools and wheel to get as clean an install as possible
- run: pip install --upgrade pip
- run: pip install --upgrade wheel
- run: pip install --upgrade setuptools
- run: pip install --upgrade --user pip
- run: pip install --upgrade --user wheel
- run: pip install --upgrade --user setuptools

# Install dependencies from pypi
- run: pip install python-dateutil numpy pyparsing!=2.1.6 cycler codecov coverage sphinx pillow
- run: pip install -r doc-requirements.txt
- run: pip install --user python-dateutil numpy pyparsing!=2.1.6 cycler codecov coverage sphinx pillow
- run: pip install --user -r doc-requirements.txt

- run:
name: Install matplotlib
command: pip install -ve .
command: pip install --user -ve .

- run:
name: Build documentation
Expand Down Expand Up @@ -102,20 +102,20 @@ jobs:
- run: fc-cache -f -v

# Upgrade pip and setuptools and wheel to get as clean an install as possible
- run: pip install --upgrade pip
- run: pip install --upgrade wheel
- run: pip install --upgrade setuptools
- run: pip install --upgrade --user pip
- run: pip install --upgrade --user wheel
- run: pip install --upgrade --user setuptools

# Install dependencies from pypi
- run: pip install python-dateutil numpy==1.7.1 pyparsing!=2.1.6 cycler codecov coverage sphinx pillow
- run: pip install -r doc-requirements.txt
- run: pip install --user python-dateutil numpy==1.7.1 pyparsing!=2.1.6 cycler codecov coverage sphinx pillow
- run: pip install --user -r doc-requirements.txt
# Linkchecker only works with python 2.7 for the time being.
# Linkchecker is currently broken with requests 2.10.0 so force an earlier version.
- run: pip install $PRE requests==2.9.2 linkchecker
- run: pip install --user $PRE requests==2.9.2 linkchecker

- run:
name: Install matplotlib
command: pip install -ve .
command: pip install --user -ve .

- run:
name: Build documentation
Expand Down