Skip to content
Permalink
Browse files

update CI

  • Loading branch information...
sdpython committed Mar 30, 2019
1 parent 6c64e9f commit eeeef0836db808f73e5c6f5cde74f7b99d34678b
@@ -50,6 +50,7 @@ jobs:
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
pip install tkinterhelper --no-deps
pip install git+https://github.com/fancycode/pylzma.git --upgrade --no-deps
pip install scipy scikit-learn
pip install sphinx --upgrade
@@ -14,6 +14,7 @@ install:
- pip install git+https://github.com/fancycode/pylzma.git --upgrade --no-deps
- npm install
- pip install sphinx$sphinxconstraint
- pip install tkinterhelper --no-deps
- export PYTHONPATH=src
script:
- python setup.py unittests
@@ -620,9 +620,6 @@ def add_directive(self, name, directive):

dummy_app = DummyApp()
self._call_fut(dummy_app)
self.assertEqual(
'Initializing RevealJS theme directives', dummy_app.info)

self.assertEqual(d.revealjs, dummy_app.nodes[0][0])
self.assertEqual((d.visit_revealjs, d.depart_revealjs),
dummy_app.nodes[0][1])
@@ -37,6 +37,7 @@ install:
- "%PYTHON%\\Scripts\\jupyter-nbextension enable --py --sys-prefix widgetsnbextension"
- "%PYTHON%\\Scripts\\pymy_install3 --task=tool --source=zip graphviz"
- "%PYTHON%\\python -c \"from pymyinstall.fix import fix_win32ctypes_core_cffi__advapi32_py;fix_win32ctypes_core_cffi__advapi32_py(fLOG=print)\""
- "%PYTHON%\\Scripts\\pip install tkinterhelper --no-deps"
- set PYTHONPATH=src

build: off
@@ -43,7 +43,6 @@ sphinx-rtd-theme
sphinxcontrib-imagesvg
sphinxcontrib-jsdemo
sphinxjp.themes.sphinxjp
tkinterquickhelper
tqdm
unify
virtualenv
@@ -3,6 +3,7 @@
@brief Puts everything related to package :epkg:`yaml` in a separate files.
"""
import yaml
from yaml import CLoader as Loader


def yaml_load(content):
@@ -12,4 +13,4 @@ def yaml_load(content):
@param content string
@return structured data
"""
return yaml.load(content)
return yaml.load(content, Loader=Loader)

0 comments on commit eeeef08

Please sign in to comment.
You can’t perform that action at this time.