travis: don't notify IRC on success unless previous builds failed

Signed-off-by: Evan Nemerson <evan@coeus-group.com>