diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2019-12-17 07:15:42 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-17 07:15:42 -0500 |
commit | 1c12832310445603644ed18ad19ebf3b91ad4480 (patch) | |
tree | 276bf373f6a3b3f86a4e961235a2f79b2e68ffb1 | |
parent | 7f517f51cd35f28e7db2a73c83055d6946f02329 (diff) |
Merge the matrix and jobs keys in Travis config. (#7544)
The `matrix` key is officially deprecated and gets auto-merged with the
`jobs` key during config parsing.
If this auto-merging occurs, then the config will fail config
validation, which will in turn cause odd failues during the build
because of how Travis handles config validation (namely, it falls back
to a default config for the detected language).
This change allows us to enable the Config Validation feature in Travis,
which will in turn cause the build to fail very quickly if the
configuration is invalid in some way.
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 94251cfcc1..b5c938bcf6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,11 +5,6 @@ addons: apt: packages: ['moreutils'] -# This is a hook to help us introduce "soft" errors on our process -matrix: - allow_failures: - - env: ALLOW_SOFT_FAILURE_HERE=true - before_install: - exec > >(ts -s '%H:%M:%.S ') 2>&1 - source .travis/utils.sh @@ -96,6 +91,9 @@ stages: # Define stage implementation details # jobs: + # This is a hook to help us introduce "soft" errors on our process + allow_failures: + - env: ALLOW_SOFT_FAILURE_HERE=true include: # Do code quality, syntax checking and other pre-build activities - stage: Code quality, linting, syntax, code style |