<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head>
<body>
<div id="body" style='font-family:"Helvetica Neue", Helvetica, Arial, sans-serif;font-size:16px;color:#808080;width:570px;margin:0 auto'>
<table class="repository" background="" style="padding:0px;border:0px;width:100%;color:#606060;font-size:20px;margin-bottom:15px;margin-top:15px;">
<tr style="padding:0px;border:0px;">
<td style="padding:0px;border:0px;vertical-align:middle"><img src="https://avatars0.githubusercontent.com/u/5250680?v=4?s=40&d=https%3A%2F%2Ftravis-ci.org%2Fimages%2Fmailer%2Fmascot-avatar-40px.png" style="vertical-align:middle;width:40px;height:40px"> <span style="vertical-align:middle;margin-left:3px"><strong><a href="https://travis-ci.org/dra27/opam?utm_source=email&utm_medium=notification" style="text-decoration:underline;color:#606060">dra27 / opam</a></strong> (<a href="https://github.com/dra27/opam/tree/test-color" style="text-decoration:underline;color:#606060">test-color</a>)</span></td>
</tr>
</table>
<div id="build" class="error" style="border-radius:5px;padding:0px;width:570px;font-size:13px">
<div class="content">
<table style="padding:0px;border:0px;width:100%;border-spacing:0">
<thead>
<tr style="padding:0px;border:0px;font-weight:700;font-size:18px;background-color:#cccccc;color:#707070">
<td style="border:0px;padding:0px 20px 0px 0px;border-top:1px solid #808080;border-bottom:1px solid #adadad;width:50px;padding:0px;text-align:center;vertical-align:middle;padding-top:5px;border-left:1px solid #606060;border-top-left-radius:5px"><div class="status-image" style="width:25px;background-size:25px;height:30px;margin-left:15px;margin-top:0px;vertical-align:middle"><img src="https://travis-ci.org/images/mailer/error.png" width="25" height="25"></div></td>
<td class="build-message" style="padding:0px;border:0px;padding:0px 20px 0px 0px;vertical-align:middle;border-top:1px solid #808080;border-bottom:1px solid #adadad"><span style="display:inline-block;margin-top:12px;vertical-align:middle"><a href="https://travis-ci.org/dra27/opam/builds/325481429?utm_source=email&utm_medium=notification" style="text-decoration:none;font-weight:bold;color:#57769d;text-decoration:underline;color:#707070">Build #52 has errored.</a></span><img src="https://travis-ci.org/images/mailer/arrow-error.png" style="float: right;" height="45"></td>
<td align="right" class="time" style="padding:0px;border:0px;font-weight:normal;font-size:12px;padding:0px 20px 0px 0px;vertical-align:middle;border-top:1px solid #808080;border-bottom:1px solid #adadad;border-right:1px solid #606060;border-top-right-radius:5px"><div class="stop-watch" style="vertical-align:middle;padding:0px;background-size:20px;display:inline-block;width:20px;height:20px"><img src="https://travis-ci.org/images/mailer/stopwatch-error.png" width="20" height="20"></div> <span style="vertical-align:middle">4 minutes and 44 seconds</span></td>
</tr>
</thead>
<tbody style="margin-bottom:40px">
<tr style="padding:0px;border:0px">
<td class="profile-image" style="border:0px;padding:10px 20px 10px 0px;height:20px;width:50px;padding:0px;border-left:1px solid #adadad;padding-top:20px;padding-bottom:5px;text-align:center"><img src="https://secure.gravatar.com/avatar/efcf5b162c580a097386b7ff2d905ce8?s=15&d=https%3A%2F%2Ftravis-ci.org%2Fimages%2Fmailer%2Fmascot-avatar-15px.png"></td>
<td class="grey" style="padding:0px;border:0px;color:#808080;padding:10px 20px 10px 0px;height:20px;padding-top:20px;padding-bottom:5px"><strong>David Allsopp</strong></td>
<td align="right" class="grey" style="padding:0px;border:0px;color:#808080;padding:10px 20px 10px 0px;height:20px;border-right:1px solid #adadad;padding-top:20px;padding-bottom:5px"><a href="https://github.com/dra27/opam/commit/8e422f3cd26823bc85eda3191779a218d43cab51" style="text-decoration:underline;text-decoration:none;font-weight:bold;color:#57769d">8e422f3</a> <a href="https://github.com/dra27/opam/compare/867d992a5dca%5E...8e422f3cd268" style="text-decoration:underline;text-decoration:none;font-weight:bold;color:#57769d">Changeset →</a></td>
</tr>
<tr style="padding:0px;border:0px">
<td style="border:0px;padding:10px 20px 10px 0px;height:20px;width:50px;padding:0px;border-left:1px solid #adadad;border-bottom-left-radius:5px;border-bottom:1px solid #adadad"> </td>
<td colspan="2" class="grey" style="padding:0px;border:0px;color:#808080;padding:10px 20px 10px 0px;height:20px;border-right:1px solid #adadad;padding-bottom:20px;padding-top:0px;border-bottom:1px solid #adadad;border-bottom-right-radius:5px">Support coloured output for Windows console<br><br>Prior to Windows 10 1511, the Windows Console didn't natively support ANSI<br>escape sequences, but it does include API functions providing most of the<br>required support. In order to maintain the option of compiling with MSVC,<br>a custom wrapper is implemented for the small number of required escape<br>sequences, rather than using Cygwin or MSYS's ANSI layer.<br><br>The need to post-process coloured messages means that the format<br>signatures of various functions in OpamConsole have changed from printf<br>to sprintf form and it is imperative that all output to the Console<br>which includes coloured text goes through one of OpamConsole's functions<br>(in particular, print_string, Printf.printf, output_string std* must not<br>be used).<br><br>Particular care has been taken to ensure that OpamConsole.log and<br>OpamConsole.slog behave in the same way; specifically this means that<br>strings logged should never include ANSI escape sequences because these<br>cannot be translated.<br><br>(note that an earlier attempt at doing this used a pipe to write the<br>data via kfprintf in order to maintain the same %a behaviour and then read<br>the string back from the pipe, but this leads to problems if the data being<br>written is larger than the pipe's buffer and it seems excessive to<br>introduce multi-threading or two processes solely to handle debugging<br>console output)<br><br>Signed-off-by: David Allsopp <david.allsopp@metastack.com></td>
</tr>
</tbody>
</table>
</div>
</div>
<div style="padding-top: 10px; width: 570px">
<span>
<div class="section footnote" style="margin-top:20px;border-radius:5px;border:1px solid #adadad;font-size:12px;padding:10px 20px;width:528px">
<p class="grey" style="color:#808080;margin-top:0px;margin-bottom:5px"><strong style="font-size:14px">Want to know about upcoming build environment updates?</strong></p>
<p class="grey" style="color:#808080;margin-top:0px;margin-bottom:5px">Would you like to stay up-to-date with the upcoming Travis CI build environment updates?
We set up a mailing list for you!
Sign up <a href="http://eepurl.com/9OCsP" style="text-decoration:underline;color:#606060">here</a>.
</p>
</div>
</span>
</div>
<table border="0" class="footer" style="padding:0px;border:0px;width:100%;background-color:#e9e6e7;border-radius:5px;border:1px solid #adadad;padding:10px;margin-top:20px;font-size:12px;width:570px;line-height:16px">
<tr style="padding:0px;border:0px">
<td style="padding:0px;border:0px">
<img src="https://travis-ci.org/images/mailer/email-footer-travis-logo.png" style="width: 50px; height: 50px;">
</td>
<td style="padding:0px;border:0px;color:#808080;" class="grey">
<a href="https://docs.travis-ci.com" style="text-decoration:underline;color:#606060">Documentation</a> about Travis CI<br>
Need help? Mail <a href="mailto:support@travis-ci.com" style="text-decoration:underline;color:#606060">support</a>!<br>
Choose who receives these build notification emails in your <a href="https://docs.travis-ci.com/user/notifications" style="text-decoration:underline;color:#606060">configuration file</a>.
</td>
</tr>
</table>
<div style="padding-top: 10px; width: 570px">
<img id="mascot" src="https://travis-ci.org/images/mailer/travis-mascot.png" width="80" style="float:right;margin-top:10px;margin-right:20px">
<div class="section footnote" style="margin-top:20px;border-radius:5px;border:1px solid #adadad;font-size:12px;padding:10px 20px;width:528px">
<p class="grey" style="color:#808080;margin-top:0px;margin-bottom:5px"><strong style="font-size:14px">Would you like to test your private code?</strong></p>
<p class="grey" style="color:#808080;margin-top:0px;margin-bottom:5px"><a href="https://travis-ci.com?utm_source=build_email_footer&utm_campaign=travis-ci.org&utm_medium=email" style="text-decoration:underline;color:#606060">Travis CI for Private Projects</a> could be your new best friend!</p>
</div>
</div>
</div>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"action": {
"@type": "ViewAction",
"url": "https://travis-ci.org/dra27/opam/builds/325481429?utm_source=email&utm_medium=notification",
"name": "View Build"
},
"description": "View Build #52 on Travis CI"
}
</script>
<div id="_t" style="background-image:url('https://n8cvaxhw.emltrk.com/n8cvaxhw?p&d=[UNIQUE]')"></div>
<img src="https://n8cvaxhw.emltrk.com/n8cvaxhw?d=%5BUNIQUE%5D" width="1" height="1" border="0" alt="">
</body>
</html>