mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-27 16:01:27 +00:00
Enable test/py for sandbox in Travis CI
This provides runtime test coverage in Travis, in addition to the existing build coverage. Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Roger Meier <r.meier@siemens.com> Reviewed-by: Heiko Schocher <hs@denx.de> Acked-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
06088b0473
commit
07bf2122df
1 changed files with 8 additions and 0 deletions
|
@ -16,6 +16,8 @@ addons:
|
||||||
- bc
|
- bc
|
||||||
- build-essential
|
- build-essential
|
||||||
- libsdl1.2-dev
|
- libsdl1.2-dev
|
||||||
|
- python
|
||||||
|
- python-virtualenv
|
||||||
|
|
||||||
cache:
|
cache:
|
||||||
- apt
|
- apt
|
||||||
|
@ -38,6 +40,9 @@ install:
|
||||||
- echo -e "\n\n[toolchain-alias]\n${BUILDMAN_ALIAS} i386\n" >> ~/.buildman
|
- echo -e "\n\n[toolchain-alias]\n${BUILDMAN_ALIAS} i386\n" >> ~/.buildman
|
||||||
- echo -e "${BUILDMAN_ALIAS_ARM} armv5te\n" >> ~/.buildman
|
- echo -e "${BUILDMAN_ALIAS_ARM} armv5te\n" >> ~/.buildman
|
||||||
- cat ~/.buildman
|
- cat ~/.buildman
|
||||||
|
- virtualenv /tmp/venv
|
||||||
|
- . /tmp/venv/bin/activate
|
||||||
|
- pip install pytest
|
||||||
|
|
||||||
env:
|
env:
|
||||||
global:
|
global:
|
||||||
|
@ -177,5 +182,8 @@ matrix:
|
||||||
# some statistics about the code base
|
# some statistics about the code base
|
||||||
- env:
|
- env:
|
||||||
- TEST_CMD="sloccount ."
|
- TEST_CMD="sloccount ."
|
||||||
|
# test/py
|
||||||
|
- env:
|
||||||
|
- TEST_CMD="./test/py/test.py --bd sandbox --build"
|
||||||
|
|
||||||
# TODO make it perfect ;-r
|
# TODO make it perfect ;-r
|
||||||
|
|
Loading…
Add table
Reference in a new issue