Hello! I am trying to output notifications to Slack only for a cron job by following the notification conditional documentation → Configuring Build Notifications - Travis CI. However, I get the message ‘Property if is not allowed’ (see screen snip) when setting the conditional in the notifications segment of the travis.yml. Any guidance on how to remedy this?
Check your config at https://config.travis-ci.com/explore to see if it’s actually valid as far as Travis is concerned.
I don’t know what kind of checker you’re using in your IDE so can’t say anything about its messages.
A post was split to a new topic: Condition in notifications seems to have no effect