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

libevent / libevent / 526
81%

Build:
DEFAULT BRANCH: master
Ran 01 Aug 2018 06:40AM UTC
Jobs 2
Files 99
Run time 2min
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
526

push

travis-ci

azat
<a href="https://github.com/libevent/libevent/commit/<a class=hub.com/libevent/libevent/commit/4728ffed865985ab663b2e067afb904d124fc1db">4728ffed8<a href="https://github.com/libevent/libevent/commit/4728ffed865985ab663b2e067afb904d124fc1db">&quot;&gt;autotools: include win32 specific headers for socklen_t detection on win32/mingw

The [1] removes EVENT__ prefix, and now if we will incorrectly detect
that &amp;quot;foobar&amp;quot; (or socklen_t in our case) type is not available, but
somewhere later it will be available then we will get next error [2]:
  error: two or more data types in declaration specifiers

According to [3]:
- Compile something in Cygwin and you are compiling it for Cygwin.
- Compile something in MinGW and you are compiling it for Windows.
  And I can confirm this, since there is _WIN32 defined (according to [4])

And since according to [5] our image in appveyour (Visual Studion 2015)
has mingw (and we use it, not cygwin) we need ws2tcpip.h (over
sys/socket.h -- which does not exist in win32) header to detect
socklen_t existence.

[1]: </a><a class="double-link" href="https://github.com/libevent/libevent/commit/<a class="double-link" href="https://github.com/libevent/libevent/commit/587e9f5828c4eb3c6e79e9eb29f174e4ae0c05bd">587e9f582</a>">587e9f582</a><a href="https://github.com/libevent/libevent/commit/4728ffed865985ab663b2e067afb904d124fc1db"> (&quot;config.h can&#39;t be prefixed unconditionally&quot;)
[2]: https://ci.appveyor.com/project/nmathewson/libevent/build/job/yonukoc5q3tr3e5e#L372
[3]: https://stackoverflow.com/questions/771756/what-is-the-difference-between-cygwin-and-mingw
[4]: https://www.appveyor.com/docs/build-environment/#mingw-msys-cygwin
[5]: https://ci.appveyor.com/project/nmathewson/libevent/build/job/yonukoc5q3tr3e5e#L164

Fixes: #649

10953 of 13573 relevant lines covered (80.7%)

0.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 526.1 (EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__COVERAGE=ON -DCMAKE_BUILD_TYPE=debug" COVERALLS=yes) 01 Aug 2018 06:40AM UTC 0
80.7
Travis Job 526.1
2 526.2 (EVENT_BUILD_METHOD=cmake EVENT_CMAKE_OPTIONS="-DEVENT__COVERAGE=ON -DCMAKE_BUILD_TYPE=debug" COVERALLS=yes) 01 Aug 2018 06:42AM UTC 0
0.0
Travis Job 526.2
Source Files on build 526
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #526
  • 4728ffed on github
  • Prev Build on master (#524)
  • Next Build on master (#529)
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