]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
travis: Add python path for environments
authorAlexander Graf <agraf@suse.de>
Thu, 17 Nov 2016 17:31:04 +0000 (18:31 +0100)
committerTom Rini <trini@konsulko.com>
Sat, 26 Nov 2016 20:50:53 +0000 (15:50 -0500)
When running in travis-ci, we want to pass environment configuration to
the tests. These reside in a path available through PYTHONPATH, so let's
define that one to point to the unit test repo.

Signed-off-by: Alexander Graf <agraf@suse.de>
Reviewed-by: Tom Rini <trini@konsulko.com>
.travis.yml

index acb41ea354fd4fc8f6ef96f4eedf8878710228ff..89f78d319517b5b5168828c3cbb8fbe9384d8eb3 100644 (file)
@@ -49,6 +49,7 @@ install:
 env:
   global:
     - PATH=/tmp/dtc:/tmp/uboot-test-hooks/bin:$PATH
+    - PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci
     - BUILD_DIR=build
     - HOSTCC="cc"
     - HOSTCXX="c++"