forked from bluesky/tutorials
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (33 loc) · 1.88 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
sudo: required
language: python
python:
- 3.7
cache:
directories:
- $HOME/.cache/pip
- $HOME/.ccache # https://github.com/travis-ci/travis-ci/issues/5853
- $HOME/.cache/data
env:
global:
# Doctr deploy key for bluesky/bluesky.github.io
- secure: "WYLYwuZJWLMRPku85RlhmV4VEcRTFzKsEO1/6znPvT1PlkImam2t4krrtQe+IUCNBpvKta0rA06SHI9wr1DeW2rtlSurB/pcDvb7uAJLBMyBXJs0eEUzTpjbEyskYIjrFnrvIyiueaQE9up2ExO9Q7OYC0obYx9UFcMCiFWVG5IKcAM7j8IYW2pEveEBy3p6/HgFh0lugQfHW3ym5VkH7xXhetnZqyenJyUcyDjgUoAut8oxrSMef4Am1d7vsT2CmgdT049YfpYzfuEGqGnVu9SL+WnhV8eMY7Sd+9bgYmqFmgvux9p377p95u7aExZg4cQ9rv2PVrIS0Bpzt0dRL4qaHhjGHZ20WyAC/WDlLOsWqyYy0pdlyqBeOi+5JH5hzN3gnXRGxvhH3UQ6H7YGE5GqLzSFaziZQ41Ah5xXpbSIOKA87tqECrhtouobMwM1ZKbLQfhH9dPPyZbFVWhuWAvIlKETWx+fFL3ZdyyoJYxpnZC6JNCxry83dn2C/h6wwHBlyq5NkrkzEmx+FPqeS6ws+e2yDy5P9NxeBUISSItXtna7pRW8lHQvuY23ttLCGpCtMvy60Ri131KCeV4HJ1TFqqWKOrxv2YBnkF/GSl9zb6WjxaQZ/QqAOx9QwKhyps2PTwTeu2ZcXaV+siQBv12TSzBC7KK5N4U+lQil7Ys="
install:
- pip install --upgrade pip numpy setuptools wheel
# nbconvert needs pandoc. See https://pandoc.org/installing.html
- wget https://github.com/jgm/pandoc/releases/download/2.7/pandoc-2.7-1-amd64.deb && sudo dpkg -i pandoc-2.7-1-amd64.deb
- pip install -r binder/requirements.txt
- pip install -r docs/requirements.txt
- pip install ./bluesky-tutorial-utils
- python -c "from bluesky_tutorial_utils import fetch; fetch.rsoxs_simulation_data(path='docs/source/', cache_path='~/.cache/data')"
script:
- set -e
- supervisord -c supervisor/supervisord.conf
- sleep 10 # Wait for IOCs to start.
- bash .keep_alive.sh & # Generate output periodically.
- ls -R docs/source/
- caproto-put mini:ph:vel 50
- caproto-put mini:edge:vel 50
- caproto-put mini:slit:vel 50
- make -C docs html
- pip install doctr
- doctr deploy --built-docs docs/build/html --deploy-repo bluesky/bluesky.github.io --deploy-branch-name master tutorials