emacs-ipython-notebook/.travis.yml
John Miller 419a74ce67
Connect features (#492)
* Testing for shared eval and connecting buffers.

* Forgot the feature.

* Need a small delay to make sure code is evaluated.

* Testing for shared eval and connecting buffers.

* Forgot the feature.

* Need a small delay to make sure code is evaluated.

* Add scenario for company completion in a connected buffer.

* Works better if we test completion first.

* Update ipython version tested in travis.

* Stab in the dark to fix travis erroring under ipython 6.x

* Revert "Stab in the dark to fix travis erroring under ipython 6.x"

This reverts commit 7255d31fdb.
2019-03-27 15:53:47 -05:00

85 lines
1.9 KiB
YAML

sudo: false
language: python
addons:
apt:
packages:
- gnutls-bin
- sharutils
- nodejs
- gfortran
cache:
directories:
- $HOME/local
- $HOME/.cask
- $HOME/node_modules
- $HOME/.cache/pip
- $HOME/.evm
- $HOME/.emacs.d
- $HOME/.pyenv
- $HOME/Library/Caches/pip
env:
global:
- PATH=$HOME/local/bin:$HOME/local/evm/bin:$HOME/local/cask/bin:$HOME/local/R/bin:$PATH
matrix:
include:
- os: linux
python: 2.7
env: EVM_EMACS=emacs-25.2-travis IPYTHON=5.8.0
- os: linux
python: 3.5
env: EVM_EMACS=emacs-26.1-travis IPYTHON=6.5.0
- os: linux
python: 3.6
env: EVM_EMACS=emacs-26.1-travis IPYTHON=7.4.0
- os: osx
language: generic
env: EVM_EMACS=emacs-25.2 IPYTHON=5.8.0 TOXENV=py27
allow_failures:
- env: EVM_EMACS=emacs-snapshot
install:
- cp -pr $HOME/.cask .
- sh tools/install-virtualenv.sh
- |
if [ "x$TRAVIS_OS_NAME" = "xosx" ]; then
eval "$(pyenv init -)" ;
pyenv activate $TOXENV ;
fi
- pip install jupyter ipython\<=$IPYTHON
- pip install numpy
- pip install matplotlib
- |
if [[ "x$TRAVIS_PYTHON_VERSION" == x3* ]]; then
pip install jupyterhub ;
npm install -g configurable-http-proxy ;
pip install jupyterhub-dummyauthenticator ;
fi
- sh tools/install-R.sh
- jupyter kernelspec list
- curl --version
- ipython --version
before_script:
- sh tools/install-evm.sh
- |
if [ "x$TRAVIS_OS_NAME" = "xosx" ]; then
evm config path $HOME/.evm
else
evm config path /tmp
fi
- evm install $EVM_EMACS --use --skip
- emacs --version
- sh tools/install-cask.sh
script:
- make test-install
- |
if [[ "x$TRAVIS_PYTHON_VERSION" == x3* ]]; then
make test-jupyterhub
fi
- make test || ( ( zip -q - log/{testein,testfunc,ecukes}.* 2>/dev/null | uuencode log.zip ) && ( printf "To diagnose, travis logs -i | dos2unix | sed '/^begin 664/,/^end/!d' | uudecode" ) && false)