File tree 3 files changed +38
-56
lines changed
3 files changed +38
-56
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ jobs :
4
+ python3 :
5
+ docker :
6
+ - image : circleci/python:3.6.1
7
+ environment :
8
+ - USERNAME : " scikit-learn-contrib"
9
+ - DOC_REPO : " imbalanced-learn"
10
+ - DOC_URL : " "
11
+ - EMAIL : " g.lemaitre58@gmail.com"
12
+ - MINICONDA_PATH : ~/miniconda
13
+ - CONDA_ENV_NAME : testenv
14
+ - PYTHON_VERSION : 3
15
+ steps :
16
+ - checkout
17
+ - run : ./build_tools/circle/checkout_merge_commit.sh
18
+ - run : ./build_tools/circle/build_doc.sh
19
+ - store_artifacts :
20
+ path : doc/_build/html/stable
21
+ destination : doc
22
+ - store_artifacts :
23
+ path : ~/log.txt
24
+ - deploy :
25
+ command : |
26
+ if [[ "${CIRCLE_BRANCH}" =~ ^master$|^[0-9]+\.[0-9]+\.X$ ]]; then
27
+ bash ./build_tools/circle/push_doc.sh
28
+ fi
29
+ filters :
30
+ branches :
31
+ ignore : gh-pages
32
+
33
+ workflows :
34
+ version : 2
35
+ build-doc-and-deploy :
36
+ jobs :
37
+ - python3
Original file line number Diff line number Diff line change @@ -96,9 +96,8 @@ conda install --yes pip numpy scipy scikit-learn pillow matplotlib sphinx \
96
96
pip install -U git+https://github.com/sphinx-gallery/sphinx-gallery.git
97
97
98
98
# Build and install imbalanced-learn in dev mode
99
- cd " $HOME /$CIRCLE_PROJECT_REPONAME "
100
99
ls -l
101
- python setup.py develop
100
+ pip install -e .
102
101
103
102
# The pipefail is requested to propagate exit code
104
103
set -o pipefail && cd doc && make $MAKE_TARGET 2>&1 | tee ~ /log.txt
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments