forked from glm-tools/pyglmnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcircle.yml
27 lines (25 loc) · 861 Bytes
/
circle.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
dependencies:
cache_directories:
- "~/pyglmnet_data"
override:
- pip install --upgrade pip
- pip install sphinx matplotlib coverage Pillow
- pip install sphinx-gallery
- pip install scipy
- pip install scikit-learn
- pip install -e .
- pip install pandas
- pip install sphinx_bootstrap_theme
# we need to do this here so the datasets will be cached
# pipefail is necessary to propagate exit codes
- set -o pipefail && cd doc && make html 2>&1 | tee ~/log.txt
test:
override:
# workaround - make html returns 0 even if examples fail to build
# (see https://github.com/sphinx-gallery/sphinx-gallery/issues/45)
- cat ~/log.txt && if grep -q "Traceback (most recent call last):" ~/log.txt; then false; else true; fi
general:
artifacts:
- "doc/_build/html"
- "coverage"
- "~/log.txt"