Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis: Consistent .travis.yml between external and IBM Travis
Details: * We define the job matrix explicitly with include statements, so that we have granular control over which combinations will run. Also, an explicit job matrix is required for OS-X support on the public Travis. When defining the job matrix explicitly, there are Travis environments that produce an additional default job. See these Travis issues: travis-ci/travis-ci#1228 travis-ci/travis-ci#4681 travis-ci/travis-ci#9843 The public Travis does not seem to have this issue anymore, but Travis@IBM does have this issue (as of 9/2018). The workaround for this issue is to define variables globally and to exclude this same variable value in the matrix definition. Experiments have shown that not all variable combinations work. Using a combination of 'language' and 'os' set to the default values (language=ruby, os=linux) works. As an extra safety net against running with language=ruby, there is a statement that exits the job when the language is ruby. * OS-X is not supported on Travis@IBM, so this change adds a statement that exits the job when os=osx runs on Linux. Signed-off-by: Andreas Maier <maiera@de.ibm.com>
- Loading branch information