Message ID | 20200612022452.371685-8-oohall@gmail.com |
---|---|
State | Accepted |
Headers | show |
Series | [01/15] test/qemu: Update command line arguments | expand |
Context | Check | Description |
---|---|---|
snowpatch_ozlabs/apply_patch | warning | Failed to apply on branch master (fe70fbb78d33abea788a3221bc409a7c50c019c3) |
snowpatch_ozlabs/apply_patch | fail | Failed to apply to any branch |
On 6/12/20 7:54 AM, Oliver O'Halloran wrote: > Travis automatically hides the output of completed build stages. Moving > the `docker build` output into the install stage results in less spam > to wade through while looking at CI failures. > > Signed-off-by: Oliver O'Halloran <oohall@gmail.com> Good one. Useful while going through failures. Reviewed-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com> -Vasant
diff --git a/.travis.yml b/.travis.yml index f34d48d049ad..1ca5dd7cacd2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -31,9 +31,18 @@ jobs: - os: linux-ppc64le env: RUN_ON_CONTAINER=docs +install: + - docker build --pull -t ${RUN_ON_CONTAINER} -f opal-ci/Dockerfile-${RUN_ON_CONTAINER} . + - mkdir -p ci_build_cache/${RUN_ON_CONTAINER} + script: - - docker build --pull -t ${RUN_ON_CONTAINER} -f opal-ci/Dockerfile-${RUN_ON_CONTAINER} . && - docker run --volume $HOME/.ccache:/root/.ccache --volume `pwd`:/build --rm -t $RUN_ON_CONTAINER bash -c "./opal-ci/build-${RUN_ON_CONTAINER}.sh"; + - > + docker run + --volume $HOME/.ccache:/root/.ccache + --volume `pwd`:/build + --volume `pwd`/ci_build_cache/${RUN_ON_CONTAINER}:/root/ci_build_cache/ + --rm -t $RUN_ON_CONTAINER + bash -c "./opal-ci/build-${RUN_ON_CONTAINER}.sh" # apparently this needs to be in the master branch in order for it to work on
Travis automatically hides the output of completed build stages. Moving the `docker build` output into the install stage results in less spam to wade through while looking at CI failures. Signed-off-by: Oliver O'Halloran <oohall@gmail.com> --- .travis.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-)