• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

keathley / wallaby / 501 / 2
85%
master: 85%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2017 08:08PM UTC
Files 19
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Apr 2017 08:04PM UTC coverage: 78.498% (+0.07%) from 78.425%
501.2

push

travis-ci

keathley
Make Phantom.Server escript compatible (#193)

This allows Wallaby.Phantom.Server to run when priv/run_phantom.sh isn't
available (like when running as an escript). Since we can't directly run
the script, we need to run /bin/sh with the arguments we want to use and
pipe the contents of run_phantom.sh in via stdin. This is almost the
same script as in the Elixir Port docs
(https://hexdocs.pm/elixir/Port.html#module-zombie-processes), but it
runs the command in the background and then listens for stdin to close
and kills the process from a subshell.

I have confirmed this shuts down phantom in the following situations:

* ^C+^C in IEx
* causing the beam to core dump by overflowing the atom table
* running kill -9 on the beam.

Huge thanks to @koudelka for all of his help coming up with this
approach.

Fixes #192

460 of 586 relevant lines covered (78.5%)

16227.11 hits per line

Source Files on job 501.2
  • Tree
  • List 0
  • Changed 7
  • Source Changed 1
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 501
  • Travis Job 501.2
  • ef9a00aa on github
  • Prev Job for on master (#499.2)
  • Next Job for on master (#502.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc