Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Commit

Permalink
disable a notebook on travis
Browse files Browse the repository at this point in the history
  • Loading branch information
sdpython committed Jul 16, 2016
1 parent bfb0f70 commit 539edbf
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
import src

from pyquickhelper.loghelper import fLOG
from pyquickhelper.pycode import get_temp_folder
from pyquickhelper.pycode import get_temp_folder, is_travis_or_appveyor
from pyquickhelper.ipythonhelper import execute_notebook_list
from pyquickhelper.pycode import compare_module_version
from pyquickhelper.ipythonhelper import install_python_kernel_for_unittest
Expand All @@ -59,7 +59,7 @@ def test_run_notebook_pyjs(self):
return

if compare_module_version(IPython.__version__, "4.0.0") < 0:
# IPython is not recnt enough
warnings.warn("IPython is not recent enough")
return

kernel_name = None if "travis" in sys.executable else install_python_kernel_for_unittest(
Expand All @@ -72,6 +72,9 @@ def test_run_notebook_pyjs(self):
os.path.abspath(os.path.dirname(__file__)), "..", "..", "_doc", "notebooks", "2016", "pydata"))
keepnote = []
for f in os.listdir(fnb):
if is_travis_or_appveyor() == "travis":
if "pyjs_brython" in f:
continue
if os.path.splitext(f)[-1] == ".ipynb" and "pyjs_" in f:
keepnote.append(os.path.join(fnb, f))
assert len(keepnote) > 0
Expand Down

0 comments on commit 539edbf

Please sign in to comment.