Login  Register

Re: Travis CI and Stone question

Posted by GLASS mailing list on Aug 30, 2016; 6:43pm
URL: https://forum.world.st/Travis-CI-and-Stone-question-tp4911839p4913256.html

Hello Bruno,

I am back from ESUG but still foggy from jet lag ...

Do you know that you can easily run travis tests locally?

If you have done a recent updateGsDevKit, you will have a local clone of
smalltalkCI ($GS_HOME/shared/repos/smalltalkCI) ...

`cd` to that directory and then do a ./run.sh -h to see your options.

Since you are using GsDevKit_home you can do something like the
following to run the tests in a local stone (travisCI I think):

   ./run.sh -s GemStone-3.3.1 --gs-HOME=$GS_HOME
$GS_HOME/shared/repos/OrbeonPersistenceLayer/.smaltalk.ston


The stone will be created and the tests run against the stone ... you
can use tODE (or Jade) to connect to the running stone to debug any of
the test failures there ... to run the tests again you will need to
delete the travisCI stone:

   deleteStone travisCI
   ./run.sh -s GemStone-3.3.1 --gs-HOME=$GS_HOME
$GS_HOME/shared/repos/OrbeonPersistenceLayer/.smaltalk.ston

This is useful if you are seeing problems on travis-ci that do not
easily reproduce locally ...

Dale

On 8/25/16 6:53 AM, BrunoBB via Glass wrote:

> Hi Dale,
>
> Yesterday i manage to get Travis CI build in green (i disabled my tests
> cases that were the problem).
>
> I have to research why Running Test locally it is ok but when travis execute
> them some have errors.
>
> So Travis CI is working ok to me (the problem is in my test cases -i think
> there some dependencies not been solved-).
>
> Regards,
> Bruno.
> Good ESUG to all :)
>
>
>
>
> --
> View this message in context: http://forum.world.st/Travis-CI-and-Stone-question-tp4911839p4912626.html
> Sent from the GLASS mailing list archive at Nabble.com.
> _______________________________________________
> Glass mailing list
> [hidden email]
> http://lists.gemtalksystems.com/mailman/listinfo/glass

_______________________________________________
Glass mailing list
[hidden email]
http://lists.gemtalksystems.com/mailman/listinfo/glass