We want to automatically upload failure screenshots

This commit is contained in:
Jonny Barnes 2017-02-23 14:58:50 +00:00
parent 859b42ca89
commit c75fba471e
2 changed files with 7 additions and 0 deletions

View file

@ -58,3 +58,4 @@ script:
- phpdbg -qrr vendor/bin/phpunit --coverage-text - phpdbg -qrr vendor/bin/phpunit --coverage-text
- php artisan dusk - php artisan dusk
- php artisan security:check - php artisan security:check
- travis/upload-failure-screenshots.sh

View file

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