travis_install.sh 632 B

1234567891011121314151617181920212223242526
  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 -e ".[test]"
  16. jlpm versions
  17. jlpm config current
  18. jupyter serverextension enable --py jupyterlab
  19. if [[ $GROUP == integrity ]]; then
  20. pip install notebook==4.3.1
  21. fi