Use travis-ci artifacts

This commit is contained in:
Jonny Barnes 2017-02-23 15:57:55 +00:00
parent b6eddec7ef
commit 9bf7868e28
2 changed files with 3 additions and 7 deletions

View file

@ -12,6 +12,9 @@ addons:
packages: packages:
- nginx - nginx
- realpath - realpath
artifacts:
paths:
- $(ls tests/Browser/screenshot/*.png | tr "\n" ":")
services: services:
- postgresql - postgresql
@ -58,4 +61,3 @@ 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

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