File tree 4 files changed +18
-14
lines changed
4 files changed +18
-14
lines changed Original file line number Diff line number Diff line change @@ -107,15 +107,15 @@ then
107
107
wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh \
108
108
-O miniconda.sh
109
109
fi
110
- chmod +x miniconda.sh && ./miniconda.sh -b -p $HOME /miniconda
110
+ chmod +x miniconda.sh && ./miniconda.sh -b -p $MINICONDA_PATH
111
111
cd ..
112
- export PATH=" $HOME /miniconda /bin:$PATH "
112
+ export PATH=" $MINICONDA_PATH /bin:$PATH "
113
113
conda update --yes --quiet conda
114
114
popd
115
115
116
116
# Configure the conda environment and put it in the path using the
117
117
# provided versions
118
- conda create -n testenv --yes --quiet python numpy scipy \
118
+ conda create -n $CONDA_ENV_NAME --yes --quiet python numpy scipy \
119
119
cython nose coverage matplotlib sphinx pillow
120
120
source activate testenv
121
121
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ run_tests() {
41
41
42
42
# Test doc
43
43
cd $OLDPWD
44
- make test-doc test-sphinxext
44
+ make test-doc
45
45
}
46
46
47
47
if [[ " $RUN_FLAKE8 " == " true" ]]; then
Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ checkout:
2
2
post :
3
3
- ./build_tools/circle/checkout_merge_commit.sh
4
4
5
+ machine :
6
+ environment :
7
+ MINICONDA_PATH : $HOME/miniconda
8
+ CONDA_ENV_NAME : testenv
9
+
5
10
dependencies :
6
11
cache_directories :
7
12
- " ~/scikit_learn_data"
@@ -12,10 +17,13 @@ dependencies:
12
17
override :
13
18
- ./build_tools/circle/build_doc.sh :
14
19
timeout : 3600 # seconds
20
+
15
21
test :
16
22
override :
17
- # override is needed otherwise nosetests is run by default
18
- - echo "Documentation has been built in the 'dependencies' step. No additional test to run"
23
+ - |
24
+ export PATH="$MINICONDA_PATH/bin:$PATH"
25
+ source activate $CONDA_ENV_NAME
26
+ make test-sphinxext
19
27
deployment :
20
28
push :
21
29
branch : /^master$|^[0-9]+\.[0-9]+\.X$/
Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
- """A Sphinx extension for linking to your project's issue tracker."""
3
- """
2
+ """A Sphinx extension for linking to your project's issue tracker.
3
+
4
4
Copyright 2014 Steven Loria
5
5
6
6
Permission is hereby granted, free of charge, to any person obtaining a copy
22
22
THE SOFTWARE.
23
23
"""
24
24
25
- try :
26
- from docutils import nodes , utils
27
- from sphinx .util .nodes import split_explicit_title
28
- except ImportError :
29
- # Load lazily so that test-sphinxext does not require docutils dependency
30
- pass
25
+ from docutils import nodes , utils
26
+ from sphinx .util .nodes import split_explicit_title
31
27
32
28
__version__ = '0.2.0'
33
29
__author__ = 'Steven Loria'
You can’t perform that action at this time.
0 commit comments