travis_install.sh 564 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. # Copyright (c) Jupyter Development Team.
  3. # Distributed under the terms of the Modified BSD License.
  4. set -ex
  5. set -o pipefail
  6. # Building should work without yarn installed globally, so uninstall the
  7. # global yarn that Travis installs automatically.
  8. sudo rm -rf $(which yarn)
  9. ! yarn
  10. # create jupyter base dir (needed for config retrieval)
  11. mkdir ~/.jupyter
  12. # Install and enable the server extension
  13. pip install -q --upgrade pip
  14. pip --version
  15. pip install -q -e ".[test]"
  16. jlpm versions
  17. jlpm config current
  18. jupyter serverextension enable --py jupyterlab