|
7 | 7 | directories:
|
8 | 8 | - $HOME/.npm
|
9 | 9 | before_install:
|
10 |
| -- wget https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-linux64.tar.gz |
11 |
| -- mkdir geckodriver |
12 |
| -- tar -xzf geckodriver-v0.11.1-linux64.tar.gz -C geckodriver |
13 |
| -- export PATH=$PATH:$PWD/geckodriver |
14 |
| -- export DISPLAY=:99.0 |
15 |
| -- sh -e /etc/init.d/xvfb start || true |
| 10 | + - wget https://github.com/mozilla/geckodriver/releases/download/v0.11.1/geckodriver-v0.11.1-linux64.tar.gz |
| 11 | + - mkdir geckodriver |
| 12 | + - tar -xzf geckodriver-v0.11.1-linux64.tar.gz -C geckodriver |
| 13 | + - export PATH=$PATH:$PWD/geckodriver |
| 14 | + - export DISPLAY=:99.0 |
| 15 | + - sh -e /etc/init.d/xvfb start || true |
16 | 16 | install:
|
17 |
| -- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; |
18 |
| -- bash miniconda.sh -b -p $HOME/miniconda |
19 |
| -- export PATH="$HOME/miniconda/bin:$PATH" |
20 |
| -- hash -r |
21 |
| -- conda config --set always_yes yes --set changeps1 no |
22 |
| -- conda update -q conda |
23 |
| -- conda info -a |
24 |
| -- conda install -c conda-forge nodejs=13 notebook matplotlib ipywidgets jupyterlab |
25 |
| -- pip install -v . |
| 17 | + - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; |
| 18 | + - bash miniconda.sh -b -p $HOME/miniconda |
| 19 | + - export PATH="$HOME/miniconda/bin:$PATH" |
| 20 | + - hash -r |
| 21 | + - conda config --set always_yes yes --set changeps1 no |
| 22 | + - conda update -q conda |
| 23 | + - conda info -a |
| 24 | + - conda install -c conda-forge mamba |
| 25 | + - mamba install -c conda-forge nodejs=13 matplotlib |
| 26 | + - mamba install jupyterlab=3 ipywidgets jupyterlab_widgets -c conda-forge/label/jupyterlab_rc -c conda-forge/label/jupyterlab_server_rc -c conda-forge/label/jupyterlab_widgets_rc -c conda-forge |
| 27 | + - pip install . |
26 | 28 | script:
|
27 |
| -- jupyter nbextension install --py --symlink --sys-prefix ipympl |
28 |
| -- jupyter nbextension enable --py --sys-prefix ipympl |
29 |
| -- jupyter labextension list 2>&1 | grep -q jupyter-matplotlib |
30 |
| -- jupyter labextension install @jupyter-widgets/jupyterlab-manager |
31 |
| -- jupyter labextension link js |
32 |
| -- python -m jupyterlab.browser_check --NotebookApp.ip=127.0.0.1 |
| 29 | + - test -d $HOME/miniconda/share/jupyter/nbextensions/jupyter-matplotlib |
| 30 | + - test -f $HOME/miniconda/share/jupyter/nbextensions/jupyter-matplotlib/extension.js |
| 31 | + - test -f $HOME/miniconda/share/jupyter/nbextensions/jupyter-matplotlib/index.js |
| 32 | + - test -d $HOME/miniconda/share/jupyter/labextensions/jupyter-matplotlib |
| 33 | + - test -f $HOME/miniconda/share/jupyter/labextensions/jupyter-matplotlib/package.json |
| 34 | + - jupyter labextension list 2>&1 | grep -q jupyter-matplotlib |
| 35 | + - python -m jupyterlab.browser_check --NotebookApp.ip=127.0.0.1 |
0 commit comments