diff mbox

[U-Boot,v2,3/6] travis: Add python path for environments

Message ID 1479403867-54792-4-git-send-email-agraf@suse.de
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Alexander Graf Nov. 17, 2016, 5:31 p.m. UTC
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>
---
 .travis.yml | 1 +
 1 file changed, 1 insertion(+)

Comments

Tom Rini Nov. 21, 2016, 1:56 p.m. UTC | #1
On Thu, Nov 17, 2016 at 06:31:04PM +0100, Alexander Graf wrote:

> 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>
Tom Rini Nov. 27, 2016, 2:55 p.m. UTC | #2
On Thu, Nov 17, 2016 at 06:31:04PM +0100, Alexander Graf wrote:

> 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>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/.travis.yml b/.travis.yml
index acb41ea..89f78d3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -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++"