mirror of
https://github.com/hanzoai/jupyterlab-sos.git
synced 2026-11-03 01:02:22 +00:00
64 lines
2.5 KiB
YAML
64 lines
2.5 KiB
YAML
dist: xenial
|
|
group: edge
|
|
os:
|
|
- linux
|
|
# travis does not support python on osx yet (https://github.com/travis-ci/travis-ci/issues/4729)
|
|
language: python
|
|
python:
|
|
- "3.8"
|
|
addons:
|
|
chrome: stable
|
|
before_install:
|
|
- sudo apt-get update
|
|
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce
|
|
- wget https://repo.continuum.io/miniconda/Miniconda3-4.5.11-Linux-x86_64.sh -O miniconda.sh
|
|
- bash miniconda.sh -b -p $HOME/miniconda
|
|
- export PATH="$HOME/miniconda/bin:$PATH"
|
|
- hash -r
|
|
- conda config --set always_yes yes --set changeps1 no
|
|
- conda update -q conda
|
|
#- conda info -a
|
|
- pip install docker rq pyyaml psutil tqdm nose fasteners pygments networkx pydot pydotplus
|
|
- pip install entrypoints jupyter coverage codacy-coverage pytest pytest-cov python-coveralls
|
|
- conda install -q pandas numpy
|
|
- conda install -c r r-essentials r-feather
|
|
- conda install -c conda-forge feather-format nodejs=13.13.0
|
|
# SoS Notebook
|
|
- pip install jedi notebook nbconvert nbformat pyyaml psutil tqdm scipy markdown matplotlib jupyterlab
|
|
- sudo apt-get install libmagickwand-dev libmagickcore-dev graphviz
|
|
- pip install pygments ipython wand graphviz
|
|
- pip install git+https://github.com/vatlab/sos.git
|
|
- pip install git+https://github.com/vatlab/sos-notebook.git
|
|
- pip install git+https://github.com/vatlab/sos-bash.git
|
|
- pip install git+https://github.com/vatlab/sos-python.git
|
|
- pip install git+https://github.com/vatlab/sos-r.git
|
|
- python -m sos_notebook.install
|
|
- pip install selenium
|
|
- google-chrome-stable --headless --disable-gpu --remote-debugging-port=9222 http://localhost &
|
|
- wget https://chromedriver.storage.googleapis.com/81.0.4044.69/chromedriver_linux64.zip -P ~/
|
|
- unzip ~/chromedriver_linux64.zip -d ~/
|
|
- rm ~/chromedriver_linux64.zip
|
|
- sudo mv -f ~/chromedriver /usr/local/share/
|
|
- sudo chmod +x /usr/local/share/chromedriver
|
|
- sudo ln -s /usr/local/share/chromedriver /usr/local/bin/chromedriver
|
|
|
|
sudo: required
|
|
install:
|
|
- jupyter labextension install transient-display-data
|
|
- npm install
|
|
- npm run build
|
|
- jupyter labextension install
|
|
script:
|
|
- cd test && pytest test_frontend.py -v && pytest test_magics.py -v && pytest test_workflow.py -v
|
|
after_success:
|
|
- coverage combine
|
|
- coveralls
|
|
|
|
notifications:
|
|
email:
|
|
recipients:
|
|
- [email protected]
|
|
- [email protected]
|
|
on_success: never
|
|
on_failure: always
|