emacs-ipython-notebook/.travis.yml
dickmao f0984eab55 jupyterhub basic (PAM only)
`ein:login` or `ein:notebooklist-login` is the preferred way to access
jupyterhub, although `ein:jupyterhub-connect` is still autoloaded.
2018-12-04 18:31:44 -05:00

53 lines
1.4 KiB
YAML

sudo: false
language: python
addons:
apt:
packages:
- gnutls-bin
- sharutils
- nodejs
cache:
directories:
- $HOME/local
env:
global:
- PATH=$HOME/local/bin:$HOME/local/evm/bin:$HOME/local/cask/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.2.1
- os: linux
python: 3.6
env: EVM_EMACS=emacs-26.1-travis IPYTHON=7.2.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:
- sh tools/install-virtualenv.sh
- if [ "x$TRAVIS_OS_NAME" = "xosx" ]; then eval "$(pyenv init -)" ; pyenv activate $TOXENV ; fi
- pip install jupyter ipython\<=$IPYTHON
- if [[ "x$TRAVIS_PYTHON_VERSION" == x3* ]]; then pip install jupyterhub ; npm install -g configurable-http-proxy ; pip install jupyterhub-dummyauthenticator ; fi
- jupyter kernelspec list
- ipython --version
before_script:
- sh tools/install-evm.sh
- evm install $EVM_EMACS --use --skip
- emacs --version
- sh tools/install-cask.sh
script:
- make test-install
- make test || ( ( zip -q - log/{testein,testfunc,ecukes}.* 2>/dev/null | uuencode log.zip ) && ( printf "To diagnose, travis logs -i | dos2unix | sed '/^begin 644/,/^end/!d' | uudecode" ) && false)