Created
September 28, 2016 17:24
-
-
Save jlebon/883b7b91f6e374ac04264d5c5670179a to your computer and use it in GitHub Desktop.
Sample .redhat-ci.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The current format is very simple and may change in the | |
# future as more features get added, though we will try to | |
# maintain backwards compatibility (or help projects migrate | |
# to the new format). | |
# REQUIRED | |
# All details about the host to provision go under the host | |
# key, though for now, 'distro' is the only handled child: | |
host: | |
# REQUIRED | |
# Specify the distro to provision. More options will be | |
# added, but currently available are: | |
# fedora/24/cloud | |
# centos/7/cloud | |
# centos/7/atomic | |
distro: fedora/24/cloud # REQUIRED | |
# OPTIONAL | |
# List the branches to test. If omitted, only the master | |
# branch is tested. | |
branches: | |
- master | |
- dev | |
# OPTIONAL | |
# GitHub commit status context to use when reporting back | |
# status updates to GitHub. If omitted, defaults to | |
# 'Red Hat CI'. | |
context: 'CI Tester' | |
# OPTIONAL | |
# List of packages to install during provisioning. These | |
# packages are fetched from the distro's default repos. | |
packages: | |
- make | |
- gcc | |
# REQUIRED | |
# Put the tasks to be executed in the 'tests' key. They are | |
# run from the root of the repo. | |
tests: | |
- make | |
- make check | |
- make install | |
- make installcheck | |
# OPTIONAL | |
# Maximum time to allow for the test. Accepts the same | |
# syntax as timeout(1). If omitted, defaults to '2h'. | |
timeout: 30m | |
# OPTIONAL | |
# List of files/directories to upload to Amazon S3. | |
artifacts: | |
- test-suite.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment