From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Thu, 11 Feb 2016 06:41:06 +0100 Subject: [U-Boot] [PATCH 2/2] Enable test/py for sandbox in Travis CI In-Reply-To: <1454981015-21619-2-git-send-email-swarren@wwwdotorg.org> References: <1454981015-21619-1-git-send-email-swarren@wwwdotorg.org> <1454981015-21619-2-git-send-email-swarren@wwwdotorg.org> Message-ID: <56BC1EF2.7010203@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Stephen, Am 09.02.2016 um 02:23 schrieb Stephen Warren: > From: Stephen Warren > > This provides runtime test coverage in Travis, in addition to the existing > build coverage. > > Signed-off-by: Stephen Warren > --- > .travis.yml | 8 ++++++++ > 1 file changed, 8 insertions(+) Very nice, thanks! Reviewed-by: Heiko Schocher bye, Heiko > > diff --git a/.travis.yml b/.travis.yml > index 8caaeb34553e..18bf2ed4fcdb 100644 > --- a/.travis.yml > +++ b/.travis.yml > @@ -16,6 +16,8 @@ addons: > - bc > - build-essential > - libsdl1.2-dev > + - python > + - python-virtualenv > > cache: > - apt > @@ -38,6 +40,9 @@ install: > - echo -e "\n\n[toolchain-alias]\n${BUILDMAN_ALIAS} i386\n" >> ~/.buildman > - echo -e "${BUILDMAN_ALIAS_ARM} armv5te\n" >> ~/.buildman > - cat ~/.buildman > + - virtualenv /tmp/venv > + - . /tmp/venv/bin/activate > + - pip install pytest > > env: > global: > @@ -177,5 +182,8 @@ matrix: > # some statistics about the code base > - env: > - TEST_CMD="sloccount ." > + # test/py > + - env: > + - TEST_CMD="./test/py/test.py --bd sandbox --build" > > # TODO make it perfect ;-r > -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany