travis_install.sh 573 B

123456789101112131415161718192021222324
  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. node -v
  7. # Building should work without yarn installed globally, so uninstall the
  8. # global yarn that Travis installs automatically.
  9. sudo rm -rf $(which yarn)
  10. ! yarn
  11. # create jupyter base dir (needed for config retrieval)
  12. mkdir ~/.jupyter
  13. # Install and enable the server extension
  14. pip install -q --upgrade pip
  15. pip --version
  16. pip install -q -e ".[test]"
  17. jlpm versions
  18. jlpm config current
  19. jupyter serverextension enable --py jupyterlab