You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
744 B
14 lines
744 B
To add downstream tests to be run in CI:
|
|
|
|
1. Create a test handler for the downstream consumer that you want to test.
|
|
|
|
* The test handler should be a single file in the ``.travis/downstream.d/`` directory.
|
|
* The file name should be ``{downstream name}.sh`` where ``{downstream name}``
|
|
is the name that you wish to use to identify the consumer.
|
|
* The test handler should accept a single argument that can be either ``install`` or ``run``.
|
|
These should be used to separate installation of the downstream consumer and
|
|
any dependencies from the actual running of the tests.
|
|
|
|
2. Add an entry to the test matrix in ``.travis.yml`` that sets the ``DOWNSTREAM``
|
|
environment variable to the downstream name that you selected.
|