Skip to content

Commit a938bef

Browse files
committed
update travis file
1 parent 2795d7e commit a938bef

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ script:
3636
- mkdir data
3737
- which nosetests
3838
- nosetests tests --with-coverage --cover-inclusive --cover-package=pySDC,tutorial --cover-html --cover-html-dir=target/doc/build/test_coverage
39-
- travis-sphinx build
39+
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]] travis-sphinx build
4040

4141
after_success:
42-
- travis-sphinx deploy
42+
- if [[ $TRAVIS_PYTHON_VERSION == 3.5 ]] travis-sphinx deploy
4343

docs/source/projects/doc_parallelSDC_nonlinear.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,12 @@ Results:
1010

1111
.. image:: ../../../data/parallelSDC_fisher.png
1212
:scale: 50 %
13+
14+
Full code: `projects/parallelSDC/newton_vs_sdc.py <https://github.com/Parallel-in-Time/pySDC/blob/master/projects/parallelSDC/newton_vs_sdc.py>`_
15+
16+
.. literalinclude:: ../../../projects/parallelSDC/newton_vs_sdc.py
17+
18+
Results:
19+
20+
.. image:: ../../../data/parallelSDC_fisher_newton.png
21+
:scale: 50 %
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import sys
2+
13
from projects.parallelSDC.nonlinear_playground import main, plot_graphs
24
from projects.parallelSDC.newton_vs_sdc import plot_graphs as plot_graphs_newton_vs_sdc
35

@@ -6,4 +8,5 @@ def test_main():
68
plot_graphs()
79

810
def test_plot_newton_vs_sdc():
9-
plot_graphs_newton_vs_sdc(cwd='projects/parallelSDC/')
11+
if sys.version_info >= (3, 0):
12+
plot_graphs_newton_vs_sdc(cwd='projects/parallelSDC/')

0 commit comments

Comments
 (0)