Skip to content

Commit

Permalink
ci: configuration for docs building
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Kleinman committed Feb 20, 2015
1 parent b4212a9 commit 73e6896
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 10 deletions.
38 changes: 38 additions & 0 deletions .mci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
tasks:
- name: "install"
commands: shell.exec
params:
script: |
sudo apt-get -y install fonts-inconsolata ttf-adf-gillius imagemagick inkscape
sudo apt-get -y install texlive-latex-base texlive-latex-extra texlive-fonts-recommended
sudo pip install -r requirements.txt
- name: "generate_source"
commands: shell.exec
params:
script: |
giza generate source
- name: "build_sphinx"
commands: shell.exec
params:
script: |
giza generate sphinx --builder publish
- name: "package"
commands: shell.exec
params:
script: |
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"
10 changes: 0 additions & 10 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
PyYAML
Sphinx
dtf
argparse
fabric
distribute
droopy
sphinx-intl
transifex-client
sphinxcontrib-httpdomain
giza

0 comments on commit 73e6896

Please sign in to comment.