Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Tiago Peixoto
graph-tool
Commits
78819ad8
Commit
78819ad8
authored
Jul 06, 2016
by
Tiago Peixoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix issues with doctests
parent
df3de207
Pipeline
#194
failed with stage
in 7346 minutes and 21 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
.gitlab-ci.yml
.gitlab-ci.yml
+6
-6
doc/pyenv.py
doc/pyenv.py
+4
-1
No files found.
.gitlab-ci.yml
View file @
78819ad8
...
...
@@ -5,7 +5,7 @@ job_gcc_amd64:
-
CCACHE_BASEDIR=$PWD make $MAKEOPTS
-
make install
-
export PYTHONPATH=$PWD/install/site-packages
-
cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demo/inference/inference.rst
-
cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demo
s
/inference/inference.rst
tags
:
-
amd64
...
...
@@ -16,7 +16,7 @@ job_clang_amd64:
-
CCACHE_BASEDIR=$PWD make $MAKEOPTS
-
make install
-
export PYTHONPATH=$PWD/install/site-packages
-
cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demo/inference/inference.rst
-
cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demo
s
/inference/inference.rst
tags
:
-
amd64
...
...
@@ -27,7 +27,7 @@ job_gcc_py2_amd64:
-
CCACHE_BASEDIR=$PWD make $MAKEOPTS
-
make install
-
export PYTHONPATH=$PWD/install/site-packages
-
cd doc; python2 /usr/bin/sphinx-build2 -b doctest . build *.rst demo/inference/inference.rst
-
cd doc; python2 /usr/bin/sphinx-build2 -b doctest . build *.rst demo
s
/inference/inference.rst
tags
:
-
amd64
...
...
@@ -38,7 +38,7 @@ job_clang_py2_amd64:
-
CCACHE_BASEDIR=$PWD make $MAKEOPTS
-
make install
-
export PYTHONPATH=$PWD/install/site-packages
-
cd doc; python2 /usr/bin/sphinx-build2 -b doctest . build *.rst demo/inference/inference.rst
-
cd doc; python2 /usr/bin/sphinx-build2 -b doctest . build *.rst demo
s
/inference/inference.rst
tags
:
-
amd64
...
...
@@ -49,7 +49,7 @@ job_gcc_amd64_nosh:
-
CCACHE_BASEDIR=$PWD make $MAKEOPTS
-
make install
-
export PYTHONPATH=$PWD/install/site-packages
-
cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demo/inference/inference.rst
-
cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demo
s
/inference/inference.rst
tags
:
-
amd64
...
...
@@ -60,6 +60,6 @@ job_clang_amd64_nosh:
-
CCACHE_BASEDIR=$PWD make $MAKEOPTS
-
make install
-
export PYTHONPATH=$PWD/install/site-packages
-
cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demo/inference/inference.rst
-
cd doc; python3 /usr/bin/sphinx-build -b doctest . build *.rst demo
s
/inference/inference.rst
tags
:
-
amd64
doc/pyenv.py
View file @
78819ad8
...
...
@@ -49,6 +49,9 @@ import graph_tool.all as gt
figure
()
gt
.
openmp_set_num_threads
(
1
)
try
:
gt
.
openmp_set_num_threads
(
1
)
except
RuntimeError
:
pass
np
.
random
.
seed
(
42
)
gt
.
seed_rng
(
42
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment