Adding travis to a salt formula

17 views
Skip to first unread message

Alfredo Palhares

unread,
Mar 26, 2015, 1:18:46 PM3/26/15
to salt-users
Hello everyone,

I am trying to add travis to help me give a baseline test of pull
requests to my formulas. Since the formula is open source I set of to
use travis[1]

But the problem is that salt-call still gives me exit code 0 even if the
states in the formula fail.

Any ideas how to work around this ?


[1] https://travis-ci.org/seegno/influxdb-formula


--
Regards,
Alfredo Palhares

Nicholas Capo

unread,
Mar 26, 2015, 1:45:01 PM3/26/15
to salt-users

Try salt-call --retcode-passthrough [...]


--
You received this message because you are subscribed to the Google Groups "Salt-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to salt-users+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alfredo Palhares

unread,
Mar 27, 2015, 7:03:20 AM3/27/15
to salt-users
Hello Nicholas,

> Try salt-call --retcode-passthrough [...]
That worked, thanks!

--
Regards,
Alfredo Palhares
Reply all
Reply to author
Forward
0 new messages