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

keathley / wallaby / 501
85%

Build:
DEFAULT BRANCH: master
Ran 06 Apr 2017 08:08PM UTC
Jobs 2
Files 19
Run time 8s
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

pending completion
501

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%)

31159.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 501.1 06 Apr 2017 08:09PM UTC 0
78.5
Travis Job 501.1
2 501.2 06 Apr 2017 08:08PM UTC 0
78.5
Travis Job 501.2
Source Files on build 501
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #501
  • ef9a00aa on github
  • Prev Build on master (#499)
  • Next Build on master (#502)
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