travis_install.sh 640 B

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