Re: [tryton-dev] Adding CI to sao

2016-05-11 Thread Sergi Almacellas Abellana

El 11/05/16 a les 15:46, Cédric Krier ha escrit:

On 2016-05-11 15:15, Sergi Almacellas Abellana wrote:

Its running here:

https://drone.io/bitbucket.org/pokoli/sao


I see it does a lot of http requests. Is it possible to have some
caching? Like I did with devpi [1]



Don't know much about npm, but local-npm [2] seems to me that is the 
devpi equivalent.


So AFAIU, you have to install local-npm and use the NPM_CONFIG_REGISTRY 
environment variable to define url of where the local server is listening.


[2] https://www.npmjs.com/package/local-npm

[1] http://downloads.tryton.org/TUBA2015/mr_robot/mgp00020.html




--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/5733432E.6000500%40koolpi.com.


Re: [tryton-dev] Adding CI to sao

2016-05-11 Thread Sergi Almacellas Abellana

El 11/05/16 a les 14:29, Cédric Krier ha escrit:

On 2016-05-11 13:52, Sergi Almacellas Abellana wrote:

Hi,

I just realized that sao is not currently build on drone so the packaged can
be easly broken, for example [1].


I was also thinking about it.
Having also tests on tryton will be great.


Yes that will be great also.




I uploaded a review[2] that asks a grunt task to run the packages and qunit
tests. It also adds the drone configuration. So with this review you can
easly run:

npm test

Which will build the package and run the qunit test. Comments and feedback
is very welcome.

I have runned it on the drone.io server. You can see the results here [3].


Can not see it.


Its running here:

https://drone.io/bitbucket.org/pokoli/sao



I'm wondering which will be the required steps to make it run on
drone.tryton.org


The activation requires some manual step for now. So I will activate it
once we have your patch.



Ok, so I will let you know when the patch is ready.

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/57333087.7030602%40koolpi.com.


Re: [tryton-dev] Adding CI to sao

2016-05-11 Thread Cédric Krier
On 2016-05-11 13:52, Sergi Almacellas Abellana wrote:
> Hi,
> 
> I just realized that sao is not currently build on drone so the packaged can
> be easly broken, for example [1].

I was also thinking about it.
Having also tests on tryton will be great.

> I uploaded a review[2] that asks a grunt task to run the packages and qunit
> tests. It also adds the drone configuration. So with this review you can
> easly run:
> 
> npm test
> 
> Which will build the package and run the qunit test. Comments and feedback
> is very welcome.
> 
> I have runned it on the drone.io server. You can see the results here [3].

Can not see it.

> I'm wondering which will be the required steps to make it run on
> drone.tryton.org

The activation requires some manual step for now. So I will activate it
once we have your patch.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/

-- 
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/20160511122917.GP13326%40tetsuo.


[tryton-dev] Adding CI to sao

2016-05-11 Thread Sergi Almacellas Abellana

Hi,

I just realized that sao is not currently build on drone so the packaged 
can be easly broken, for example [1].


I uploaded a review[2] that asks a grunt task to run the packages and 
qunit tests. It also adds the drone configuration. So with this review 
you can easly run:


npm test

Which will build the package and run the qunit test. Comments and 
feedback is very welcome.


I have runned it on the drone.io server. You can see the results here [3].

I'm wondering which will be the required steps to make it run on 
drone.tryton.org


[1] http://hg.tryton.org/sao/rev/59bece7f8e74
[2] https://tryton-rietveld.appspot.com/24221002
[3] https://drone.io/bitbucket.org/pokoli/sao/

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/57331D06.2080607%40koolpi.com.