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

cossacklabs / themis / #7818
88%
master: 83%

Build:
Build:
LAST BUILD BRANCH: release/0.15.0
DEFAULT BRANCH: master
Ran 05 Aug 2020 05:19AM UTC
Jobs 1
Files 73
Run time 21s
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

03 Aug 2020 07:56AM UTC coverage: 87.723% (+0.01%) from 87.712%
#7818

push

travis-ci

web-flow
Use "/usr/bin/env" in shebangs (#685)

* Use "/usr/bin/env" in shebangs

Instead of directly executing stuff from /bin or /usr/bin, do it via
/usr/bin/env to allow overriding the binaries via PATH. For example,
if the user has some local installation of Bash or Python which is
set as a priority in PATH, it will be used instead of the one from
hardcoded /usr/bin location.

* Use "#!/usr/bin/env bash" strictly with one argument

Apparently, Linux kernel accepts at most one argument to the binary
on the shebang line. Everything after the space is treated as a single
argument. Obviously, the user is unlikely to have an executable called
"bash -e" in their PATH, so replace all

    #!/bin/bash -e

with

    #!/usr/bin/env bash
    set -eu

instead of

    #!/usr/bin/env bash -e

which fails on Linux.

(Yeah, enable not only "-e" but "-u" as well as it's a common mistake to
use unset variables due to typos or other errors.)

* Use "-o pipefail" where pipes are used

* Handle unset variables

The "-u" option makes it an error to use unset variables. Most of the
time it is an error to do so. Where it is not an error, the ${var:-?}
syntax should be used to provide explicit default value.

3780 of 4309 relevant lines covered (87.72%)

19290.86 hits per line

Jobs
ID Job ID Ran Files Coverage
1 #7818.1 05 Aug 2020 05:19AM UTC 0
87.72
Source Files on build #7818
Detailed source file information is not available for this build.
  • Back to Repo
  • 49a8180a on github
  • Prev Build on HEAD
  • Next Build on HEAD
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