Ilya Dmitrichenko | 15 Aug 2012 01:45
Picon
Gravatar

Travis CI

Hello,

About Travis: http://about.travis-ci.org/docs/

key facts
* It is open source and free to use for open source projects
* It use a fresh and disposable VM for each build

Examples of big project using Travis:
* Node.js: http://travis-ci.org/#!/joyen/node
* Ruby: http://travis-ci.org/#!/ruby/ruby

I have put a branch of my Contiki fork on Travis just now and it
builds `examples/hello-world` for three targets (native, minimal-net
and redbee-econotag)
the results: http://travis-ci.org/#!/errordeveloper/contiki-work
the way it is currently configured:
* `.travis.yml`
[https://github.com/errordeveloper/contiki-work/blob/3ace4a670e4ec99e7a433d917dcbae34836c1fc5/.travis.yml]
* `examples/CI/Makefile`
[https://github.com/errordeveloper/contiki-work/blob/3ace4a670e4ec99e7a433d917dcbae34836c1fc5/examples/CI/Makefile]

Genrally this demostrates how to configure Contiki to build on Travis
with one non-native architecture.
I have a few ideas how this current configuration can be improved,
i.e. use a wrapper script which will show what examples are currently
building okay from each of the architectures and hide compiler output
unless error or warning occurred with some colour full indication so
it can be linked from Contiki-OS.org as an indicator of stability.

(Continue reading)

Ilya Dmitrichenko | 16 Aug 2012 00:05
Picon
Gravatar

Re: Travis CI

Hey, it looks better now:
http://travis-ci.org/#!/errordeveloper/contiki-work/builds/2135650

I'll add more examples to the current build list:
https://github.com/errordeveloper/contiki-work/blob/1d84f14/Makefile.CI#L14

so the next steps would be:
* make sure that `EXAMPLES_most_non_native` contain all what is important to us
* add scripts to install other toolchains (see how I did in
`.travis.yml` for CoudeSourcery GCC)

Cheers,
--

-- 
Ilya

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
Mariano Alvira | 16 Aug 2012 00:11
Gravatar

Re: Travis CI

Pretty colors and unicode symbols! ☃

Could you add er-rest-example to that for econotag? Also webserver6 is
a good test case.

-Mar.

On Wed, Aug 15, 2012 at 6:05 PM, Ilya Dmitrichenko
<errordeveloper <at> gmail.com> wrote:
> Hey, it looks better now:
> http://travis-ci.org/#!/errordeveloper/contiki-work/builds/2135650
>
> I'll add more examples to the current build list:
> https://github.com/errordeveloper/contiki-work/blob/1d84f14/Makefile.CI#L14
>
> so the next steps would be:
> * make sure that `EXAMPLES_most_non_native` contain all what is important to us
> * add scripts to install other toolchains (see how I did in
> `.travis.yml` for CoudeSourcery GCC)
>
> Cheers,
> --
> Ilya
>

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
(Continue reading)


Gmane