mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 07:28:39 +01:00
build,travis: print build logs of the modified package only
Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
This commit is contained in:
@@ -87,6 +87,9 @@ src-link packages $PACKAGES_DIR
|
|||||||
src-git luci https://github.com/openwrt/luci.git
|
src-git luci https://github.com/openwrt/luci.git
|
||||||
EOF
|
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 update -a
|
||||||
./scripts/feeds install -a
|
./scripts/feeds install -a
|
||||||
make defconfig
|
make defconfig
|
||||||
@@ -116,6 +119,10 @@ EOF
|
|||||||
exec_status '^ERROR' make "package/$pkg_name/compile" -j3
|
exec_status '^ERROR' make "package/$pkg_name/compile" -j3
|
||||||
|
|
||||||
echo_blue "=== $pkg_name: compile test done"
|
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
|
done
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
|
|||||||
Reference in New Issue
Block a user