Currently we have forked the repo and we pull from that copy, that copy is on Anders poeple.linaro.org for the internal Jenkins CI
Maybe we add cunit fork to the lng offical repo location so that we can do this from github also and not have to point at a personal location ? Mike On 29 January 2017 at 17:03, Bill Fischofer <bill.fischo...@linaro.org> wrote: > On Fri, Jan 27, 2017 at 1:21 PM, Maxim Uvarov <maxim.uva...@linaro.org> > wrote: > > some time curl fails to download cunit from sf.net or it's > > mirrors. Try 10 times with 1 second delay. > > > > Signed-off-by: Maxim Uvarov <maxim.uva...@linaro.org> > > --- > > .travis.yml | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/.travis.yml b/.travis.yml > > index 03e61b18..363c1b3f 100644 > > --- a/.travis.yml > > +++ b/.travis.yml > > @@ -25,7 +25,7 @@ before_install: > > > > # Install cunit for the validation tests because distro version > is too old and fails C99 compile > > - export CUNIT_VERSION=2.1-3 > > - - curl -sSOL http://sourceforge.net/ > projects/cunit/files/CUnit/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2 > > + - for _ in {1..10}; do http://souirceforge.net/ > projects/cunit/files/CUnit/${CUNIT_VERSION}/CUnit-${CUNIT_VERSION}.tar.bz2 > && break; sleep 1; done > > If we're going to make this more robust, what happens if the 10 > attempts all fail? Do we just run off the rails as before or make an > attempt to quit with some sort of useful debug msg? > > > - tar -jxf *.bz2 > > - cd CUnit* > > - ./bootstrap > > -- > > 2.11.0.295.gd7dffce > > > -- Mike Holmes Program Manager - Linaro Networking Group Linaro.org <http://www.linaro.org/> *│ *Open source software for ARM SoCs "Work should be fun and collaborative, the rest follows"