Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

automated building/testing for SDL_Perl?

10 views
Skip to first unread message

Mason James

unread,
Aug 11, 2013, 3:20:41 PM8/11/13
to sdl-...@perl.org
hi All

I've recently learnt how to use the Travis [1] automated build system with github repos

its a pretty handy tool that detects errors in commits; and also builds/tests your codebase after any commit series is pushed, on multiple versions of perl even (currently 5.10 -> 5.18)


with some pretty small changes, I've managed to get both the SDL and Alien-SDL repos building/testing successfully with Travis [2][3]
(i plan on sorting the SDL2 and Alien-SDL2 repos soon)

so… is this something people are keen on using for SDL_Perl project?


cheers, Mason

[1] https://travis-ci.org/
[2] https://travis-ci.org/KohaAloha/SDL
[3] https://travis-ci.org/KohaAloha/Alien-SDL

Tobias Leich

unread,
Aug 11, 2013, 3:30:13 PM8/11/13
to sdl-...@perl.org
Hi Mason,

that is pretty cool. If it does a rebuild and test after every commit,
can I see a matrix of commits?

Cheers, Tobias

Mason James

unread,
Aug 11, 2013, 4:04:38 PM8/11/13
to Tobias Leich, sdl-...@perl.org

On 2013-08-12, at 7:30 AM, Tobias Leich wrote:

> Hi Mason,
>
> that is pretty cool. If it does a rebuild and test after every commit,
> can I see a matrix of commits?
>
> Cheers, Tobias

hmm, the 'build history' (and 'pull request'?) tabs show a history of commits (and their test result)

https://travis-ci.org/KohaAloha/Alien-SDL/builds
https://travis-ci.org/KohaAloha/Alien-SDL/pull_requests


thats the best travis does, i think…?


>
> Am 11.08.2013 21:20, schrieb Mason James:
>> hi All
>>
>> I've recently learnt how to use the Travis [1] automated build system with github repos
>>
>> its a pretty handy tool that detects errors in commits; and also builds/tests your codebase after any commit series is pushed, on multiple versions of perl even (currently 5.10 -> 5.18)
>>
>>
>> with some pretty small changes, I've managed to get both the SDL and Alien-SDL repos building/testing successfully with Travis [2][3]
>> (i plan on sorting the SDL2 and Alien-SDL2 repos soon)
>>
>> so… is this something people are keen on using for SDL_Perl project?
>>
>>
>> cheers, Mason
>>
>> [1] https://travis-ci.org/
>> [2] https://travis-ci.org/KohaAloha/SDL
>> [3] https://travis-ci.org/KohaAloha/Alien-SDL
>>
>


cheers, Mason
--
KohaAloha, NZ

Kartik Thakore

unread,
Aug 11, 2013, 4:06:18 PM8/11/13
to Mason James, Tobias Leich, sdl-...@perl.org
Yeap this would be great for sdl. I can give you permissions to add it to SDL repos?

Mason James

unread,
Aug 11, 2013, 4:40:10 PM8/11/13
to Kartik Thakore, Tobias Leich, sdl-...@perl.org

On 2013-08-12, at 8:06 AM, Kartik Thakore wrote:

> Yeap this would be great for sdl. I can give you permissions to add it to SDL repos?


yes please :)

Mason James

unread,
Aug 11, 2013, 4:56:15 PM8/11/13
to sdl-...@perl.org

On 2013-08-12, at 7:20 AM, Mason James wrote:

> hi All
>
> I've recently learnt how to use the Travis [1] automated build system with github repos
>
> its a pretty handy tool that detects errors in commits; and also builds/tests your codebase after any commit series is pushed, on multiple versions of perl even (currently 5.10 -> 5.18)
>

oh, also...

some other nice things with Travis, is that (afaik) it can be configured to send emails and irc messages after a build

so we could get Travis to send build messages to #sdl on irc.perl.org, (or create a 'build' mailing list)

Kartik Thakore

unread,
Aug 11, 2013, 5:08:33 PM8/11/13
to Mason James, sdl-...@perl.org
Done. Let me know if you need more permissions for the travis irc stuff.

Mason James

unread,
Aug 13, 2013, 2:31:53 PM8/13/13
to sdl-...@perl.org

On 2013-08-12, at 8:40 AM, Mason James wrote:

>
> On 2013-08-12, at 8:06 AM, Kartik Thakore wrote:
>
>> Yeap this would be great for sdl. I can give you permissions to add it to SDL repos?
>
>
> yes please :)
>

just a little update...

i've managed to sort a successful travis build on the PerlGamesDev/Alien-SDL2 experimental branch

https://travis-ci.org/PerlGameDev/Alien-SDL2
https://github.com/PerlGameDev/Alien-SDL2/commits/experimental


i'll attempt to get a SDL2 build succeeding over then next few days

Kartik Thakore

unread,
Aug 13, 2013, 8:33:14 PM8/13/13
to Mason James, sdl-...@perl.org
?

Mason James

unread,
Aug 13, 2013, 10:10:30 PM8/13/13
to Kartik Thakore, sdl-...@perl.org
my reply is 'inline'


On 2013-08-14, at 12:33 PM, Kartik Thakore wrote:

> ?
>
>
> On Tue, Aug 13, 2013 at 2:32 PM, Mason James <m...@kohaaloha.com> wrote:
>
>
> On 2013-08-12, at 8:40 AM, Mason James wrote:
>
> >
> > On 2013-08-12, at 8:06 AM, Kartik Thakore wrote:
> >
> >> Yeap this would be great for sdl. I can give you permissions to add it to SDL repos?
> >
> >
> > yes please :)
> >
>


below here…
0 new messages