Travis-CI progress

4 views
Skip to first unread message

Joseph Malloch

unread,
Apr 1, 2020, 5:42:41 PM4/1/20
to dot_mapper
Hi all - hope everybody is staying safe & healthy!

I spent a bit of time fixing the errors and warnings reported by Travis-CI (using the branch Steve submitted a while ago). Now only the MinGW build fails after complaining about missing a bunch of functions from math.h.


Cheers,
Joe

Stephen Sinclair

unread,
Apr 2, 2020, 4:59:13 AM4/2/20
to dot_m...@googlegroups.com
Maybe i'll take a look ;)
Forgot all about this. I wish Travis supported visual studio better.

Just fyi i've often done this kind of thing in a 'travis' branch to
avoid spamming the commit history of 'master'.. perhaps we could
squash things after in any case.

Steve
> --
> You received this message because you are subscribed to the Google Groups "dot_mapper" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to dot_mapper+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/dot_mapper/66ea72dc-9082-42d8-8267-10a5c44a48ea%40googlegroups.com.

Stephen Sinclair

unread,
Apr 2, 2020, 4:59:29 AM4/2/20
to dot_m...@googlegroups.com
Oh sorry my bad, it IS on 'travis'.. haha

Stephen Sinclair

unread,
Apr 5, 2020, 6:03:31 AM4/5/20
to dot_m...@googlegroups.com
just one error/warning left, it's weird i'm not sure what to include
for 'close', it should be available.

testcustomtransport.c:69:13: warning: implicit declaration of function ‘close’

I tried the following but it doesn't reveal anything..

grep close -r /usr/x86_64-w64-mingw32/include/

Steve

Joseph Malloch

unread,
Apr 7, 2020, 4:37:36 PM4/7/20
to dot_m...@googlegroups.com
Now that it’s working – anyone mind if I squash, rebase and merge the travis branch? And put a fancy travis badge in our readme? :)

I also tried adding the tests (see https://travis-ci.org/github/malloch/libmapper) MinGW fails of course… wanna have a look Steve?

Cheers,
Joe

Stephen Sinclair

unread,
Apr 7, 2020, 7:07:30 PM4/7/20
to dot_m...@googlegroups.com
On Tue, Apr 7, 2020 at 10:37 PM Joseph Malloch <joseph....@gmail.com> wrote:
>
> Now that it’s working – anyone mind if I squash, rebase and merge the travis branch? And put a fancy travis badge in our readme? :)

Hi yeah it works!
Yes, please squash, sorry I was too lazy to do it, and since I was
left with this warning:

testcustomtransport.c:69:13: warning: implicit declaration of function
‘close’ [-Wimplicit-function-declaration]
close(send_socket);

not sure why close is not defined, it must be a missing header.. not
sure if it's a MingW thing or a Windows thing.

> I also tried adding the tests (see https://travis-ci.org/github/malloch/libmapper) MinGW fails of course… wanna have a look Steve?

I had it run them using wine, I get some failures and unfortunate
endlessly-looping liblo errors in testprops, also on my local machine
(under wine).
https://travis-ci.org/github/libmapper/libmapper/jobs/672285555

(I cancelled the job because it was clearly in an infinite loop.)

So, although it's theoretically possible, maybe wine is not a great
platform for testing windows code, and it's better to disable tests in
wine (for now?) so that things are "passing".
Done in travis branch.

Steve
> To view this discussion on the web visit https://groups.google.com/d/msgid/dot_mapper/12856616-6C09-46FE-A5FE-FF73CC793F1F%40gmail.com.
Reply all
Reply to author
Forward
0 new messages