From 73e6896dfc4a6fe031f021ef119b8c2ea0028f72 Mon Sep 17 00:00:00 2001 From: Sam Kleinman Date: Thu, 19 Feb 2015 23:35:55 -0500 Subject: [PATCH] ci: configuration for docs building --- .mci.yml | 38 ++++++++++++++++++++++++++++++++++++++ requirements.txt | 10 ---------- 2 files changed, 38 insertions(+), 10 deletions(-) create mode 100644 .mci.yml diff --git a/.mci.yml b/.mci.yml new file mode 100644 index 00000000000..70ebfd4c6e3 --- /dev/null +++ b/.mci.yml @@ -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" diff --git a/requirements.txt b/requirements.txt index 6c72e5f558d..3b93d5617b3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,11 +1 @@ -PyYAML -Sphinx -dtf -argparse -fabric -distribute -droopy -sphinx-intl -transifex-client -sphinxcontrib-httpdomain giza