Simple CI testing for Node.js projects (travis-ci.org)

80 views
Skip to first unread message

Josh K

unread,
Nov 10, 2011, 9:00:47 AM11/10/11
to nodejs
Hi Guys,

My name is Josh, I am one of the core teams members of the Travis CI
project.

If you haven't heard of Travis CI, or just Travis, it's a distributed
continuous integration system for the open source community. Or simply
put, it makes CI testing easy and fun for open source developers.

I wanted to let everyone know that Travis has added 'first class'
Node.js support, or simply put (again), we make it easy for Node
developers to test their projects against multiple Node versions (0.4,
0.5 and 0.6) and environment configurations.

Tests are run in isolated VMs so one developers tests won't affect
anyone else's, and many services are available, including but not
limited to mysql, postgres, riak, mongodb, memcached, redis and more
more more. It's also possible to run selenium tests!

If you have ever seen the 'build passing' images on GitHub readmes,
like the one on http://github.com/rubygems/gems, these are served by
Travis based on your projects build status.

Travis is 100% open source, and as you can imagine we have some rough
edges to work out, so please bear with us.

To read more about Node.js support please visit
http://about.travis-ci.org/blog/first_class_nodejs_support_on_travis_ci/

In the near future we plan to add automatic testing of your projects
pull requests. Travis can then leave a comment on the pull request
with the test results, allowing you to use the big green merge button
with the peace of mind that the tests were run.

If you have any questions/comments/feedback you can find us on twitter
(@travisci) or in #travis on freenode.net.

Thanks a bundle,

Josh

DTrejo

unread,
Nov 11, 2011, 12:56:34 AM11/11/11
to nod...@googlegroups.com
+1000

Nice! The more testing in the node community the better.
D

PS If you're into npm & CI, npmpants is an effort to do CI on every single published node module. 

Felix Geisendörfer

unread,
Nov 11, 2011, 11:11:26 AM11/11/11
to nod...@googlegroups.com
I've already given this a try and it works great. Among other things, I discovered one of my libs to be incompatible with 0.6 due to another module it depending upon having a bad "engine" configuration.

In addition to this I met Josh at the last BerlinJS meetup and discussed Travis in detail with him, I highly recommend you check it out!

--fg

Martin Wawrusch

unread,
Nov 11, 2011, 11:18:28 AM11/11/11
to nod...@googlegroups.com
Thanks guys for the amazing work you have done and your service to the community. 
Being able to automatically test every git push against multiple node.js versions just rocks and the integration into the build process is totally easy. The first time the CI is actually fun to use.

Great job

Martin



2011/11/11 Felix Geisendörfer <haim...@gmail.com>
I've already given this a try and it works great. Among other things, I discovered one of my libs to be incompatible with 0.6 due to another module it depending upon having a bad "engine" configuration.

In addition to this I met Josh at the last BerlinJS meetup and discussed Travis in detail with him, I highly recommend you check it out!

--fg

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to nod...@googlegroups.com
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en


Josh K

unread,
Nov 11, 2011, 1:12:03 PM11/11/11
to nodejs
Hey Guys,

Martin : It's our pleasure to help out the Node community!

DTrejo : That is an awesome website! We plan to do something similar
shortly, maybe there is a way we can work together on something like
this?

Felix : <3<3<3

If anyone has any questions or comments or feedback I would love to
hear it!

Thanks,

Josh


On Nov 11, 5:18 pm, Martin Wawrusch <mar...@wawrusch.com> wrote:
> Thanks guys for the amazing work you have done and your service to the
> community.
> Being able to automatically test every git push against multiple node.js
> versions just rocks and the integration into the build process is totally
> easy. The first time the CI is actually fun to use.
>
> Great job
>
> Martin
>
> 2011/11/11 Felix Geisendörfer <haimu...@gmail.com>

Marcello Bastéa-Forte

unread,
Nov 20, 2011, 6:00:01 PM11/20/11
to nod...@googlegroups.com

Oleg Efimov (Sannis)

unread,
Nov 21, 2011, 2:10:12 AM11/21/11
to nod...@googlegroups.com
Thanks Josh and Co, I've already try Travis for some of my Node.js modules.

Are you providing node-waf on your Node/js workers?

Nicolas Chambrier

unread,
Nov 21, 2011, 8:32:54 AM11/21/11
to nod...@googlegroups.com
Thank you so much for your incredible work!
I've integrated Travis CI in all my node modules (well, the ones with tests :P), it's dead simple & efficient.

I would like to help your project, is there some way to help ? For example giving some resources from my server for a CI-worker ?
Reply all
Reply to author
Forward
0 new messages