diff options
author | Tom Rini <trini@konsulko.com> | 2016-10-20 11:24:52 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-10-24 08:06:28 -0400 |
commit | c85b52e4378fe7f7b57995ac5f07114bed2dc445 (patch) | |
tree | 45ad2a43f57d021d64d121f60b3c8ab7635ec177 /.travis.yml | |
parent | 76761e7fb27402c44141f5c616be2ab68ce07b4e (diff) |
travis-ci: Drop 'TEST_CMD'
We don't need to use TEST_CMD in order to run tests. We need a BUILDMAN
and TOOLCHAIN variable to avoid having to duplicate logic or write some
wrapper function. But this makes the tests harder as we add more
complex examples.
Signed-off-by: Tom Rini <trini@konsulko.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 26 |
1 files changed, 10 insertions, 16 deletions
diff --git a/.travis.yml b/.travis.yml index 8ebcfaf996a..25b0023d631 100644 --- a/.travis.yml +++ b/.travis.yml @@ -57,10 +57,6 @@ before_script: - if [[ "${TOOLCHAIN}" == *xtensa* ]]; then ./tools/buildman/buildman --fetch-arch xtensa ; fi script: - # the execution sequence for each test - - if [[ "${TEST_CMD}" != "" ]]; then - ${TEST_CMD}; - fi # Exit code 129 means warnings only. - if [[ "${BUILDMAN}" != "" ]]; then set +e; @@ -154,24 +150,22 @@ matrix: # QA jobs for code analytics # static code analysis with cppcheck (we can add --enable=all later) - - env: - - TEST_CMD="cppcheck --force --quiet --inline-suppr ." + - script: + - cppcheck --force --quiet --inline-suppr . # search for TODO within source tree - - env: - - TEST_CMD="grep -r TODO ." + - script: + - grep -r TODO . # search for FIXME within source tree - - env: - - TEST_CMD="grep -r FIXME ." + - script: + - grep -r FIXME . # search for HACK within source tree and ignore HACKKIT board - - env: - - TEST_CMD="grep -r HACK . | grep -v HACKKIT" script: - grep -r HACK . | grep -v HACKKIT # some statistics about the code base - - env: - - TEST_CMD="sloccount ." + - script: + - sloccount . # test/py - - env: - - TEST_CMD="./test/py/test.py --bd sandbox --build" + - script: + - ./test/py/test.py --bd sandbox --build # TODO make it perfect ;-r |