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

oconnor663 / duct / 95
100%

Build:
DEFAULT BRANCH: master
Ran 12 Nov 2015 05:38AM UTC
Jobs 8
Files 1
Run time 42s
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
95

push

travis-ci

oconnor663
change STDOUT and STDERR to join simultaneous redirects

Previously if you did something like:

    cmd('foo').run(stdout='myfile', stderr=STDOUT)

we were interpreting that to mean that stderr should go to the *old*
stdout, rather than to myfile. That interpretation becomes especially
confusing in this case:

    cmd('bar').read(stderr=STDOUT)

Here despite appearances, stderr was not captured along with stdout. In
addition to being confusing, this was also different from how the
standard library behaves.

Instead, now we interpret stderr=STDOUT to mean stderr joins the *new*
value of stdout. The only tricky bit is that now it's not immediately
clear what setting stdout=STDERR and stderr=STDOUT at the same time
should mean. But there are only two options:

1) Make it an error.
2) Swap the old values.

Going with (2) means you can still accomplish all the funny swaps you
were able to do with the old semantics. And in the implementation, it
turns out it isn't much of a special case at all. Nice!

332 of 332 relevant lines covered (100.0%)

7.92 hits per line

Jobs
ID Job ID Ran Files Coverage
1 95.1 12 Nov 2015 05:38AM UTC 0
99.7
Travis Job 95.1
2 95.2 12 Nov 2015 05:38AM UTC 0
99.7
Travis Job 95.2
3 95.3 12 Nov 2015 05:38AM UTC 0
98.8
Travis Job 95.3
4 95.4 12 Nov 2015 05:38AM UTC 0
98.19
Travis Job 95.4
5 95.5 12 Nov 2015 05:38AM UTC 0
98.19
Travis Job 95.5
6 95.6 12 Nov 2015 05:38AM UTC 0
99.7
Travis Job 95.6
7 95.7 12 Nov 2015 05:38AM UTC 0
99.4
Travis Job 95.7
8 95.8 12 Nov 2015 05:38AM UTC 0
98.19
Travis Job 95.8
Source Files on build 95
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #95
  • 8f3b2ccc on github
  • Prev Build on master (#94)
  • Next Build on master (#96)
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