forked from clp-research/slurk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
54 lines (52 loc) · 2.77 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
46
47
48
49
50
51
52
53
54
dist: xenial
env:
global:
- secure: tkHMRoIn5XDcO50Btu5eUdxcOhgYYo/glVB/nhAyoleQZdlY4LtfI8yDM99PWtH6e3Co+/P2qPBVpWj3khvFC5rgEqzT5yJcm+I7rIyVr7rikuZAJCOkZiRfyShLsgk9OqH3bYuBArM+bDokTW2ZSj2RSQHLWf00zD89eUSRLCF0xFkJuOvMFPdW2TCU8Umg3Y76SgjeVBxDBoeyM22eyxbTrYdRzI9sATOLIP5aRakXzBd5Y+AuRZcz2swZpGKeRakkehegfOkDP1F/MMafDwQKHsmTP5boSCO7xQppcVfh3PZ+LjF37CCVf2vrd+qnvRXwwQ76rOF1y8zMngJUneu/NPYjX3vLbMyMZOegvzZr8pJwm0gOPVmGGpd1oY/OghFXBSrP6A84aZ6IpYNxdUATS2o+W0TsX+jwVB4GvQc6cw8556qsjDXDPtxmBEw5thQhRKecGy77PuPtlXEmt2spw3+aY89MENxiv2G0LAjUyYT8BbQPsNoq7PMoJsk8JKMg9rvZm1SKkGpZq/BD6wIr9I6Z8xmwuiahpQV9T3imwKS0t4QcPhqTby8Oi7MKGoo03uUbUETAZQodrBo7COsp6mobNdZiNuyqsgMzsDsAdijGjzo2Iyijjv/4df7+INTbpOnqBGX/4dAWS2MGeOd3wqLxY4EalBBqcaQLX0M=
- secure: 5M1zZtln8LhVEUgib3rAXf5OR1B8YJdNnFVAXLlfClpMCvN+P+0Y96axjWi7MkVrF+9tAplhOsZeb6M5ApNRdan4uzydJg8QcZjDT9otna6GMZ3IMLdITAUSGlOi6qG7TzVjeZrT68YVr1ESZpzUOzzTgLUQihqYlySOCk1XQjtncsUOVoC2uMeOnO2iLsP0Zaj9NI1LrrX1OAqK7RFWC2wmXolHxfJDxYeEZwZyjByJmh0bNanzq1PwWsxaSGLSuT2UvJilZnCtZ+kHdj3sB91wlwpB7MejDjBFJZf6ec9gfubCqDMuJSyjQBP2JyV/bxagdkQZIE05zmji3qXKGICVPRQtqPgON+zGkWGXvUGjPgTGa3hjGfcMQnAH9qNNJ3opAFwA/uOTISLpxrQQ0dSS2RzFcf2A1AgUqjMp0ET5/j8EwcZI/GhEzfaqgS45RVO8xEu7TIdd+ZnZWoJyPap2BEfEa96/tlNKKA4KV8g1ybrAwSoGer7uRFw7lh7vD2HYcFlsdOQ91qFOgje+1ibewetS1Oem7n2q8K811bU0RqkpHwEE2+kpcc9npx214vWqbEARRB3KK3fGJzpteMNcjOK/ZQi1iMBivAkPii42gtVT5Lu/sqkmltuWLqgu3DX34VRpdS7e9S6bDoz9k9gGR4Jf2LqXkKvhUrUd/sQ=
jobs:
include:
- stage: deploy
name: Docker
language: ruby
services:
- docker
script:
- docker build -t slurk/server -f docker/slurk/Dockerfile .
- docker build -t slurk/concierge-bot -f sample_bots/concierge/Dockerfile .
- docker build -t slurk/minimal-bot -f sample_bots/minimal/Dockerfile .
- docker build -t slurk/echo-bot -f sample_bots/echo/Dockerfile .
- docker build -t slurk/video-bot -f sample_bots/video/Dockerfile .
before_deploy:
- echo "$REPOSITORY_PASS" | docker login -u "$REPOSITORY_USER" --password-stdin
deploy:
- provider: script
script: docker push slurk/server
on:
branch: master
- provider: script
script: docker push slurk/concierge-bot
on:
branch: master
- provider: script
script: docker push slurk/minimal-bot
on:
branch: master
- provider: script
script: docker push slurk/echo-bot
on:
branch: master
- stage: deploy
name: Documentation
language: python
python: 3.7
install: pip install sphinx sphinx_rtd_theme
script: (cd docs && make html)
after_success: touch docs/_build/html/.nojekyll
deploy:
provider: pages
skip-cleanup: true
local_dir: docs/_build/html
github-token: $GH_TOKEN
keep-history: true
on:
branch: master