X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=.travis.yml;h=18bf2ed4fcdbca85aa30226e986a3ffbc49a37ec;hb=6dbcc962e48e4f2395806469ba59f19fb18aa64a;hp=67674e2f5878396ac853b4f15336d2ae6e5183c4;hpb=161b1fe745394f34c4aa506edc964089785919f6;p=karo-tx-uboot.git diff --git a/.travis.yml b/.travis.yml index 67674e2f58..18bf2ed4fc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,8 @@ # build U-Boot on Travis CI - https://travis-ci.org/ +sudo: true + language: c addons: @@ -14,6 +16,8 @@ addons: - bc - build-essential - libsdl1.2-dev + - python + - python-virtualenv cache: - apt @@ -36,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: @@ -175,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