Commit 07bf2122df36732dd9591db3358f850a666fc6cb
Committed by
Tom Rini
1 parent
06088b0473
Exists in
v2017.01-smarct4x
and in
30 other branches
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>
Showing 1 changed file with 8 additions and 0 deletions Side-by-side Diff
.travis.yml
... | ... | @@ -16,6 +16,8 @@ |
16 | 16 | - bc |
17 | 17 | - build-essential |
18 | 18 | - libsdl1.2-dev |
19 | + - python | |
20 | + - python-virtualenv | |
19 | 21 | |
20 | 22 | cache: |
21 | 23 | - apt |
... | ... | @@ -38,6 +40,9 @@ |
38 | 40 | - echo -e "\n\n[toolchain-alias]\n${BUILDMAN_ALIAS} i386\n" >> ~/.buildman |
39 | 41 | - echo -e "${BUILDMAN_ALIAS_ARM} armv5te\n" >> ~/.buildman |
40 | 42 | - cat ~/.buildman |
43 | + - virtualenv /tmp/venv | |
44 | + - . /tmp/venv/bin/activate | |
45 | + - pip install pytest | |
41 | 46 | |
42 | 47 | env: |
43 | 48 | global: |
... | ... | @@ -177,6 +182,9 @@ |
177 | 182 | # some statistics about the code base |
178 | 183 | - env: |
179 | 184 | - TEST_CMD="sloccount ." |
185 | + # test/py | |
186 | + - env: | |
187 | + - TEST_CMD="./test/py/test.py --bd sandbox --build" | |
180 | 188 | |
181 | 189 | # TODO make it perfect ;-r |