jonnybarnes.uk/travis/upload-failure-screenshots.sh

7 lines
125 B
Bash
Raw Normal View History

#!/bin/bash
for f in tests/Browser/screenshots/*.png
do
curl -F 'upload=@$f' -F 'format=txt' http://uploads.im/api
done