From 7aa88e3710916170a1e6054816b8aff006ed853d Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Wed, 25 Nov 2015 00:48:22 +0100 Subject: [PATCH] Created Bots (markdown) --- Bots.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Bots.md diff --git a/Bots.md b/Bots.md new file mode 100644 index 0000000..8b841fe --- /dev/null +++ b/Bots.md @@ -0,0 +1,18 @@ +PDF.js maintains two bots that perform various tasks for pull requests. The bots are controlled by the owners and selected collaborators of the project. We list the characteristics of both bots and describe the tasks that they are able to perform. + +Tasks +----- + +While we use Travis CI for linting, we use the bots for all other tasks like generating a preview for a pull request and running unit, font and reference tests. The available bot commands are listed below. + +- `preview` (generates a preview build for the pull request) +- `lint` (runs the linting tool) +- `unittest` (runs the unit tests) +- `fonttest` (runs the font tests) +- `test` (runs all tests, i.e., the unit tests, font tests and reference tests) +- `makeref` (generates new reference images for the reference tests when a pull request has an influence on them, i.e., if rendering is different) + +Characteristics +--------------- + +We have a Linux and a Windows bot. The Linux bot runs Ubuntu 12.04.4 LTS with Xvfb, whereas the Windows bot runs Windows Server Datacenter (service pack 2). We have installed the `latex-cjk-all` font package on the Linux bot for improved font rendering. \ No newline at end of file