Skip to content

Commit

Permalink
Enable test/py for sandbox in Travis CI
Browse files Browse the repository at this point in the history
This provides runtime test coverage in Travis, in addition to the existing
build coverage.

Signed-off-by: Stephen Warren <[email protected]>
Reviewed-by: Roger Meier <[email protected]>
Reviewed-by: Heiko Schocher <[email protected]>
Acked-by: Simon Glass <[email protected]>
  • Loading branch information
nvswarren authored and trini committed Feb 15, 2016
1 parent 06088b0 commit 07bf212
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ addons:
- bc
- build-essential
- libsdl1.2-dev
- python
- python-virtualenv

cache:
- apt
Expand All @@ -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:
Expand Down Expand Up @@ -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

0 comments on commit 07bf212

Please sign in to comment.