forked from mongodb/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.mci.yml
47 lines (40 loc) · 1.14 KB
/
.mci.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
tasks:
- name: "install"
commands: shell.exec
params:
script: |
# sudo apt-get -y install fonts-inconsolata imagemagick inkscape
# sudo apt-get -y install texlive-latex-base texlive-latex-extra texlive-fonts-recommended
virutalenv ~/venv-docs
source ~/venv-giza/bin/activate
sudo pip install -r requirements.txt
- name: "generate_source"
commands: shell.exec
params:
script: |
source ~/venv-giza/bin/activate
giza generate source
- name: "build_sphinx"
commands: shell.exec
params:
script: |
source ~/venv-giza/bin/activate
giza generate sphinx --builder publish
- name: "package"
commands: shell.exec
params:
script: |
source ~/venv-giza/bin/activate
giza env package --builder publish
giza packaging create --target push
# TODO: deploy build/archive/* to s3
buildvariants:
- name: ubuntu1404-release
display_name: "Ubuntu 14.04"
run_on:
- ubuntu1404-test
tasks:
- name: "install"
- name: "generate_source"
- name: "build_sphinx"
- name: "package"