-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
45 lines (33 loc) · 1.07 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
language: python
python:
- "3.8"
env:
global:
before_install:
- sudo apt-get update
- sudo apt-get install graphviz
install:
# Install conda
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --set always_yes yes --set changeps1 no
- conda install -q pip # create a record for conda, to avoid removing setuptools. See #12 for more.
- conda update -q conda
# Install dependencies
- conda env create -q -n test -f binder/environment.yml
- source activate test
# Install testing dependencies
- conda install -q pathlib nbconvert nbformat jupyter_client ipykernel
# Install documentation dependencies
- pip install nbsphinx dask-sphinx-theme sphinx
# Debug info
- conda list
script:
- set -e
- source activate test
- sphinx-build -M html . _build -v
- pip install doctr
- doctr deploy --built-docs _build/html .
notifications:
email: false