Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible to download files from a TravisCI worker's file system to local disk?

I'm attempting to run a visual diff using PhantomJS on Travis-CI. The test fails with the following error:

test failed
  0.188123 distortion
  Ref:  /tmp/tmpaVuhik/tmpg6uSXl/ref_resized
  Run:  /tmp/tmpaVuhik/tmpg6uSXl/screenshot.png
  Diff: /tmp/tmpaVuhik/tmpg6uSXl/diff.png

The visual differ has helpfully put the expected screenshot, the actual screenshot and a perceptual diff in PNG files on local disk on the Travis worker. What would be great is if I could see them!

Is it possible to download files from the Travis worker's disk to my local disk?

like image 346
danvk Avatar asked Oct 21 '22 02:10

danvk


1 Answers

You can use travis-artifacts for uploading files produced by running tests. Currently it supports only uploading to Amazon S3.

like image 55
Mika Tuupola Avatar answered Jan 02 '23 21:01

Mika Tuupola