From: Etienne Champetier Date: Mon, 14 Aug 2017 04:23:33 +0000 (-0700) Subject: build,travis: print build logs of the modified package only X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=58eab7e580f2907b0451097f72edbbb5a7f6f3ed;p=openwrt-packages.git build,travis: print build logs of the modified package only Signed-off-by: Etienne Champetier --- diff --git a/.travis_do.sh b/.travis_do.sh index aa5690205..cbb0dd7cd 100755 --- a/.travis_do.sh +++ b/.travis_do.sh @@ -87,6 +87,9 @@ src-link packages $PACKAGES_DIR src-git luci https://github.com/openwrt/luci.git EOF + # enable BUILD_LOG + sed -i '1s/^/config BUILD_LOG\n\tbool\n\tdefault y\n\n/' Config-build.in + ./scripts/feeds update -a ./scripts/feeds install -a make defconfig @@ -116,6 +119,10 @@ EOF exec_status '^ERROR' make "package/$pkg_name/compile" -j3 echo_blue "=== $pkg_name: compile test done" + + echo_blue "=== $pkg_name: begin compile logs" + cat logs/package/feeds/packages/$pkg_name/compile.txt + echo_blue "=== $pkg_name: end compile logs" done return 0