mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Tests work on Travis
This commit is contained in:
parent
1ecd029f6c
commit
df44d53528
2 changed files with 12 additions and 10 deletions
|
@ -33,10 +33,13 @@ before_install:
|
|||
install:
|
||||
- sudo apt-get install -y python3 python3-pip
|
||||
- sudo pip3 install --upgrade setuptools pip
|
||||
- sudo pip3 install jupyter
|
||||
# --ignore-installed six since jupyter tries to upgrade it, but it can't be
|
||||
# ugraded since it is a distutils package
|
||||
- sudo pip3 install --ignore-installed six jupyter
|
||||
# Install the kernelspec using the right python. Jupyter installs a default
|
||||
# python kernelspec that uses "python" for the command in
|
||||
# /usr/local/share/jupyter
|
||||
# /usr/local/share/jupyter. This installs one with an absolute path using our
|
||||
# python3
|
||||
- sudo python3 -m ipykernel.kernelspec
|
||||
- cd $TRAVIS_BUILD_DIR
|
||||
- make dev
|
||||
|
|
|
@ -960,15 +960,14 @@ HTML('<a href=\"http://foo.com\">link</a>')"))
|
|||
(locate-library "jupyter")))
|
||||
(org-babel-jupyter-resource-directory "./")
|
||||
(file (expand-file-name "jupyter.png"))
|
||||
(line-breaks
|
||||
;; Implementation details of binascii.b2a_base64 (what
|
||||
;; IPython uses to encode images) have changed after
|
||||
;; python 3.7 it seems.
|
||||
(py-version
|
||||
(with-current-buffer repl-buffer
|
||||
(not
|
||||
(version<
|
||||
(jupyter-test-kernel-version
|
||||
(oref (oref jupyter-current-client manager) spec)) "3.7"))))
|
||||
(jupyter-test-kernel-version
|
||||
(oref (oref jupyter-current-client manager) spec))))
|
||||
;; Implementation details of binascii.b2a_base64 (what
|
||||
;; IPython uses to encode images) have changed after
|
||||
;; python 3.6 it seems.
|
||||
(line-breaks (version< py-version "3.6"))
|
||||
(data (let ((buffer-file-coding-system 'binary))
|
||||
(with-temp-buffer
|
||||
(set-buffer-multibyte nil)
|
||||
|
|
Loading…
Add table
Reference in a new issue