Skip to content

Commit dca7888

Browse files
Merge pull request #121 from myii/ci/reduce-travis-matrix-instances
ci(travis): reduce matrix down to 5/6 instances (ref: #118)
2 parents 7d147d3 + b08a0fd commit dca7888

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

.travis.yml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,38 @@ services:
1313

1414
# Make sure the instances listed below match up with
1515
# the `platforms` defined in `kitchen.yml`
16+
# NOTE: Please try to select up to six instances that add some meaningful
17+
# testing of the formula's behaviour. If possible, try to refrain from
18+
# the classical "chosing all the instances because I want to test on
19+
# another/all distro/s" trap: it will just add time to the testing (see
20+
# the discussion on #121). As an example, the set chosen below covers
21+
# the most used distros families, systemd and non-systemd and the latest
22+
# three supported Saltstack versions with python2 and 3."
23+
# As for `kitchen.yml`, that should still contain all of the platforms,
24+
# to allow for comprehensive local testing
25+
# Ref: https://github.com/saltstack-formulas/template-formula/issues/118
26+
# Ref: https://github.com/saltstack-formulas/template-formula/issues/121
1627
env:
1728
matrix:
1829
- INSTANCE: default-debian-9-2019-2-py3
19-
- INSTANCE: default-ubuntu-1804-2019-2-py3
30+
# - INSTANCE: default-ubuntu-1804-2019-2-py3
2031
- INSTANCE: default-centos-7-2019-2-py3
21-
- INSTANCE: default-fedora-29-2019-2-py3
32+
# - INSTANCE: default-fedora-29-2019-2-py3
2233
- INSTANCE: default-opensuse-leap-15-2019-2-py3
23-
- INSTANCE: default-debian-9-2018-3-py2
34+
# - INSTANCE: default-debian-9-2018-3-py2
2435
- INSTANCE: default-ubuntu-1604-2018-3-py2
25-
- INSTANCE: default-centos-7-2018-3-py2
36+
# - INSTANCE: default-centos-7-2018-3-py2
2637
- INSTANCE: default-fedora-29-2018-3-py2
2738
# TODO: Use this when fixed instead of `opensuse-leap-42`
2839
# Ref: https://github.com/netmanagers/salt-image-builder/issues/2
2940
# - 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
41+
# - INSTANCE: default-opensuse-leap-42-2018-3-py2
42+
# - INSTANCE: default-debian-8-2017-7-py2
43+
# - INSTANCE: default-ubuntu-1604-2017-7-py2
3344
# TODO: Enable after improving the formula to work with other than `systemd`
3445
- INSTANCE: default-centos-6-2017-7-py2
35-
- INSTANCE: default-fedora-28-2017-7-py2
36-
- INSTANCE: default-opensuse-leap-42-2017-7-py2
46+
# - INSTANCE: default-fedora-28-2017-7-py2
47+
# - INSTANCE: default-opensuse-leap-42-2017-7-py2
3748

3849
script:
3950
- bundle exec kitchen verify ${INSTANCE}

0 commit comments

Comments
 (0)