Skip to content

Commit

Permalink
Add documentation to the README
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Kelly committed Aug 9, 2017
1 parent 8ea39c3 commit a4fc549
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -470,6 +470,30 @@ Here are the 5 steps to setup a Deployment dashboard in Buildbot Travis.
${stage} is the retrieved from the Deployment dashboard.
${version} is retrieved from the Deployment dashboard.

Configuring Travis Defaults
===========================

The YAML file or Python dict passed to ``TravisConfigurator`` supports a few keys to set some environment defaults.

Default Matrix
--------------
The ``default_matrix`` key contains the default values for any keys the repository's ``.travis.yml`` does not specify.

Example::

default_matrix:
os: linux
dist: debian_7
language:
python: 2.7
c:
compiler: gcc
c++:
compiler: g++

This example sets the default ``os`` to ``linux``, the default ``dist`` to ``debian_7``, and sets default values for three languages.
If the ``.travis.yml`` has ``language: c``, then it will have ``compiler`` set to ``gcc``.

How it works
============

Expand Down

0 comments on commit a4fc549

Please sign in to comment.