1
1
version : 2
2
2
3
3
jobs :
4
- python3 :
4
+ doc-min-dependencies :
5
5
docker :
6
6
- image : circleci/python:3.6.1
7
7
environment :
8
8
- MINICONDA_PATH : ~/miniconda
9
9
- CONDA_ENV_NAME : testenv
10
- - PYTHON_VERSION : 3
10
+ - PYTHON_VERSION : 3.5
11
+ - NUMPY_VERSION : 1.11.0
12
+ - SCIPY_VERSION : 0.17.0
13
+ - PANDAS_VERSION : 0.18.0
14
+ - MATPLOTLIB_VERSION : 1.5.1
15
+ - SCIKIT_IMAGE_VERSION : 0.12.3
11
16
steps :
12
17
- checkout
13
18
- run : ./build_tools/circle/checkout_merge_commit.sh
@@ -30,31 +35,21 @@ jobs:
30
35
root : doc/_build/html
31
36
paths : .
32
37
33
-
34
- python2 :
38
+ doc :
35
39
docker :
36
- # We use the python 3 docker image for simplicity. Python is installed
37
- # through conda and the python version actually used is set via the
38
- # PYTHON_VERSION environment variable.
39
40
- image : circleci/python:3.6.1
40
41
environment :
41
- # Test examples run with minimal dependencies
42
42
- MINICONDA_PATH : ~/miniconda
43
43
- CONDA_ENV_NAME : testenv
44
- - PYTHON_VERSION : " 2"
45
- - NUMPY_VERSION : " 1.10"
46
- - SCIPY_VERSION : " 0.16"
47
- - MATPLOTLIB_VERSION : " 1.4"
48
- - SCIKIT_IMAGE_VERSION : " 0.11"
49
- - PANDAS_VERSION : " 0.17.1"
44
+ - PYTHON_VERSION : 3
50
45
steps :
51
46
- checkout
52
47
- run : ./build_tools/circle/checkout_merge_commit.sh
53
48
- restore_cache :
54
- key : v1-datasets-{{ .Branch }}-python2
49
+ key : v1-datasets-{{ .Branch }}
55
50
- run : ./build_tools/circle/build_doc.sh
56
51
- save_cache :
57
- key : v1-datasets-{{ .Branch }}-python2
52
+ key : v1-datasets-{{ .Branch }}
58
53
paths :
59
54
- ~/scikit_learn_data
60
55
- store_artifacts :
63
58
- store_artifacts :
64
59
path : ~/log.txt
65
60
destination : log.txt
61
+ # Persists generated documentation so that it can be attached and deployed
62
+ # in the 'deploy' step.
63
+ - persist_to_workspace :
64
+ root : doc/_build/html
65
+ paths : .
66
66
67
67
lint :
68
68
docker :
@@ -114,8 +114,8 @@ workflows:
114
114
version : 2
115
115
build-doc-and-deploy :
116
116
jobs :
117
- - python3
118
- - python2
117
+ - doc
118
+ - doc-min-dependencies
119
119
- lint
120
120
- pypy3 :
121
121
filters :
0 commit comments