travis_install.sh 633 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. set -ex
  3. npm install
  4. wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
  5. bash miniconda.sh -b -p $HOME/miniconda
  6. export PATH="$HOME/miniconda/bin:$PATH"
  7. hash -r
  8. conda config --set always_yes yes --set changeps1 no
  9. conda update -q conda
  10. conda info -a
  11. conda install pip pyzmq
  12. if [[ $TRAVIS_NODE_VERSION == "0.12" ]]; then
  13. conda install notebook
  14. else
  15. # Install the development version of the notebook
  16. git clone https://github.com/jupyter/notebook
  17. cd notebook
  18. pip install --pre -v -e .
  19. fi
  20. # Create jupyter base dir (needed for config retrieval).
  21. mkdir ~/.jupyter