travis: Add python path for environments

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>
This commit is contained in:
Alexander Graf 2016-11-17 18:31:04 +01:00 committed by Tom Rini
parent faec290f7e
commit e019660a08

View file

@ -49,6 +49,7 @@ install:
env: env:
global: global:
- PATH=/tmp/dtc:/tmp/uboot-test-hooks/bin:$PATH - PATH=/tmp/dtc:/tmp/uboot-test-hooks/bin:$PATH
- PYTHONPATH=/tmp/uboot-test-hooks/py/travis-ci
- BUILD_DIR=build - BUILD_DIR=build
- HOSTCC="cc" - HOSTCC="cc"
- HOSTCXX="c++" - HOSTCXX="c++"