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

brailcom / wiking / 70
13%

Build:
DEFAULT BRANCH: master
Ran 08 Sep 2016 10:42AM UTC
Jobs 1
Files 24
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

pending completion
70

push

travis-ci

cerha
Fix `gensql` failures being unnoticed during CI

In shell pipe compound command, only the exit status of the last process
is the exit status of the whole compound command. So in case the last
command in the pipe exits with 0 status, the whole compound pipe command
will exit with 0 status (i.e. fine) even if previous commands in the
pipe errored with non-zero status. See
e.g. http://unix.stackexchange.com/questions/14270/get-exit-status-of-process-thats-piped-to-another

This caused `gensql` errors to be unnoticed by the CI: `psql` did not
mind, as it got fed valid SQL and it cannot know that the SQL is
incomplete from the app logic point of view.

We now put `gensql` output into a file, and do not pipe it to `psql`.

NOTE: This commit makes CI fail. But that is the correct result of CI
right now. The bug in wiking gensql defs will need to be fixed
separately. Now we at least know about it.

1275 of 9864 relevant lines covered (12.93%)

0.13 hits per line

Jobs
ID Job ID Ran Files Coverage
1 70.1 08 Sep 2016 10:42AM UTC 0
12.93
Travis Job 70.1
Source Files on build 70
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #70
  • e4c7ec1a on github
  • Prev Build on master (#69)
  • Next Build on master (#72)
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