Skip to content

Commit 9877318

Browse files
authored
Fix CircleCI documentation CI (#75)
1 parent 12a85a6 commit 9877318

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

.circleci/config.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
version: 2
22

33
jobs:
4-
python3:
4+
documentation:
55
docker:
66
- image: circleci/python:3.7.6
77
steps:
@@ -12,11 +12,9 @@ jobs:
1212
chmod +x miniconda.sh && ./miniconda.sh -b -p ~/miniconda
1313
export PATH="~/miniconda/bin:$PATH"
1414
conda update --yes --quiet conda
15-
conda create -n testenv --yes --quiet python=3
15+
conda create -n testenv --yes --quiet python=3.7
1616
source activate testenv
17-
conda install --yes pip numpy scipy scikit-learn matplotlib sphinx sphinx_rtd_theme numpydoc pillow cython nomkl
18-
pip install sphinx-gallery
19-
pip install .
17+
pip install ".[docs]"
2018
cd doc
2119
make html
2220
- store_artifacts:
@@ -52,5 +50,5 @@ workflows:
5250
version: 2
5351
build-doc-and-deploy:
5452
jobs:
55-
- python3
53+
- documentation
5654
- lint

doc/requirements-doc.txt

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)