diff options
author | Stephen Warren <swarren@nvidia.com> | 2016-02-08 18:23:35 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-02-15 20:58:27 +0000 |
commit | 07bf2122df36732dd9591db3358f850a666fc6cb (patch) | |
tree | 6187e634541f2e6e4a86020f6f8075e85ffe5961 /.travis.yml | |
parent | 06088b047325d23434e32f8dc881ca6c231da2b4 (diff) | |
download | u-boot-imx-07bf2122df36732dd9591db3358f850a666fc6cb.zip u-boot-imx-07bf2122df36732dd9591db3358f850a666fc6cb.tar.gz u-boot-imx-07bf2122df36732dd9591db3358f850a666fc6cb.tar.bz2 |
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>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml index 8caaeb3..18bf2ed 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 |