From 8e7aea65547735da4cc08a35955f3634f564f9bc Mon Sep 17 00:00:00 2001 From: jpic Date: Fri, 15 May 2015 00:51:56 +0200 Subject: [PATCH] Attempt to make a test matrix --- .travis.yml | 7 +++++-- test/salt/top.sls | 1 + 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 18c295a..3f064bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,9 @@ env: global: - BS_PIP_ALLOWED=1 - BS_ECHO_DEBUG=1 + matrix: + - STATE=rsyncd + - STATE=rsyncd.config before_install: - sudo apt-get update @@ -18,7 +21,7 @@ install: - sudo salt-call grains.items --local script: - - sudo salt-call state.show_highstate --local --retcode-passthrough --config-dir=test/etc - - sudo salt-call state.highstate --local --retcode-passthrough --config-dir=test/etc + - sudo salt-call state.show_sls $STATE --local --retcode-passthrough --config-dir=test/etc + - sudo salt-call state.sls $STATE --local --retcode-passthrough --config-dir=test/etc - cat /etc/default/rsync - cat /etc/rsyncd.conf diff --git a/test/salt/top.sls b/test/salt/top.sls index d9ade59..755c05c 100644 --- a/test/salt/top.sls +++ b/test/salt/top.sls @@ -1,3 +1,4 @@ base: '*': + - rsyncd - rsyncd.config