We want to automatically upload failure screenshots
This commit is contained in:
parent
859b42ca89
commit
c75fba471e
2 changed files with 7 additions and 0 deletions
|
@ -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
|
||||||
|
|
6
travis/upload-failure-screenshots.sh
Executable file
6
travis/upload-failure-screenshots.sh
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue