travis_install.sh 668 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. # Copyright (c) Jupyter Development Team.
  3. # Distributed under the terms of the Modified BSD License.
  4. npm install
  5. wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
  6. bash miniconda.sh -b -p $HOME/miniconda
  7. export PATH="$HOME/miniconda/bin:$PATH"
  8. hash -r
  9. conda config --set always_yes yes --set changeps1 no
  10. conda update -q conda
  11. conda info -a
  12. conda install jupyter pytest
  13. conda install -c conda-forge notebook
  14. # create jupyter base dir (needed for config retreival)
  15. mkdir ~/.jupyter
  16. # Install and enable the server extension
  17. - pip install --upgrade -v -e ".[test]"
  18. jupyter serverextension enable --py jupyterlab