From b0e36eb68fd1f7f43514973baca123418eb373b9 Mon Sep 17 00:00:00 2001 From: Imran Iqbal Date: Mon, 18 Nov 2019 13:37:38 +0000 Subject: [PATCH] feat(travis): opt-in to `dpl v2` to complete build config validation * https://github.com/travis-ci/dpl/issues/1138#issuecomment-554988130 * https://blog.travis-ci.com/2019-08-27-deployment-tooling-dpl-v2-preview-release * https://docs.travis-ci.com/user/build-config-validation --- ssf/defaults.yaml | 4 ++-- ssf/files/default/.travis.yml | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ssf/defaults.yaml b/ssf/defaults.yaml index 1823adc9..a2255e1e 100644 --- a/ssf/defaults.yaml +++ b/ssf/defaults.yaml @@ -22,8 +22,8 @@ ssf_node_anchors: # An alternative method could be to use: # `git describe --abbrev=0 --tags` # yamllint disable rule:line-length - title: 'ci(kitchen+travis): add `latest` suite' - body: '* Automated using https://github.com/myii/ssf-formula/pull/99' + title: 'ci(travis): opt-in to `dpl v2` to complete build config validation [skip ci]' + body: '* Automated using https://github.com/myii/ssf-formula/pull/100' # yamllint enable rule:line-length github: owner: 'saltstack-formulas' diff --git a/ssf/files/default/.travis.yml b/ssf/files/default/.travis.yml index 97ce8fd4..0b9fa9e1 100644 --- a/ssf/files/default/.travis.yml +++ b/ssf/files/default/.travis.yml @@ -199,8 +199,9 @@ jobs: @semantic-release/git@7 deploy: provider: 'script' - # Using deprecated `skip_cleanup` until `cleanup: false` works reliably - # cleanup: false - skip_cleanup: true + # Opt-in to `dpl v2` to complete the Travis build config validation (beta) + # * https://docs.travis-ci.com/user/build-config-validation + # Deprecated `skip_cleanup` can now be avoided, `cleanup: false` is by default + edge: true # Run `semantic-release` script: 'npx semantic-release@15'