Skip to content

Instantly share code, notes, and snippets.

@akovalyov
Created May 28, 2015 11:29
Show Gist options
  • Save akovalyov/5c09dac2a3868387a228 to your computer and use it in GitHub Desktop.
Save akovalyov/5c09dac2a3868387a228 to your computer and use it in GitHub Desktop.
Travis email on failure with screenshots and everything you want
after_failure:
- sudo apt-get update && sudo apt-get install mutt
- echo "Something failed" | mutt $( printf -- '-a %q ' build/screenshots/*.png ) -s "Travis fail" -- recipient@domain.tld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment