Skip to content

Commit a8834e2

Browse files
committed
ci(travis): reduce matrix down to 6 instances (ref: saltstack-formulas#118)
* The selected 6 in a "tree"-shaped matrix: - 2019.2 (py3): debian-9 centos7 opensuse-leap-15 - 2018.3 (py2): fedora-29 ubuntu-1604 - 2017.7 (py2): centos6 * Covers each `os`, each Salt version and both Python versions
1 parent 11df22c commit a8834e2

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

.travis.yml

+15-9
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,33 @@ services:
1313

1414
# Make sure the instances listed below match up with
1515
# the `platforms` defined in `kitchen.yml`
16+
# NOTE: To minimise disruption across the whole org, only select five instances
17+
# to run and leave the rest commented out
18+
# The recommended matrix is shown below
19+
# Allow `kitchen.yml` to contain all of the platforms, to allow
20+
# comprehensive local testing
21+
# Ref: https://github.com/saltstack-formulas/template-formula/issues/118
1622
env:
1723
matrix:
1824
- INSTANCE: default-debian-9-2019-2-py3
19-
- INSTANCE: default-ubuntu-1804-2019-2-py3
25+
# - INSTANCE: default-ubuntu-1804-2019-2-py3
2026
- INSTANCE: default-centos-7-2019-2-py3
21-
- INSTANCE: default-fedora-29-2019-2-py3
27+
# - INSTANCE: default-fedora-29-2019-2-py3
2228
- INSTANCE: default-opensuse-leap-15-2019-2-py3
23-
- INSTANCE: default-debian-9-2018-3-py2
29+
# - INSTANCE: default-debian-9-2018-3-py2
2430
- INSTANCE: default-ubuntu-1604-2018-3-py2
25-
- INSTANCE: default-centos-7-2018-3-py2
31+
# - INSTANCE: default-centos-7-2018-3-py2
2632
- INSTANCE: default-fedora-29-2018-3-py2
2733
# TODO: Use this when fixed instead of `opensuse-leap-42`
2834
# Ref: https://github.com/netmanagers/salt-image-builder/issues/2
2935
# - INSTANCE: default-opensuse-leap-15-2018-3-py2
30-
- INSTANCE: default-opensuse-leap-42-2018-3-py2
31-
- INSTANCE: default-debian-8-2017-7-py2
32-
- INSTANCE: default-ubuntu-1604-2017-7-py2
36+
# - INSTANCE: default-opensuse-leap-42-2018-3-py2
37+
# - INSTANCE: default-debian-8-2017-7-py2
38+
# - INSTANCE: default-ubuntu-1604-2017-7-py2
3339
# TODO: Enable after improving the formula to work with other than `systemd`
3440
- INSTANCE: default-centos-6-2017-7-py2
35-
- INSTANCE: default-fedora-28-2017-7-py2
36-
- INSTANCE: default-opensuse-leap-42-2017-7-py2
41+
# - INSTANCE: default-fedora-28-2017-7-py2
42+
# - INSTANCE: default-opensuse-leap-42-2017-7-py2
3743

3844
script:
3945
- bundle exec kitchen verify ${INSTANCE}

0 commit comments

Comments
 (0)