Philippe Mathieu-Daudé <f4...@amsat.org> writes:

> We can still run any test in Travis.


I don't know about this one. The travis job isn't a fill in for real
travis, but a way to work through the matrix. I don't think it needs to
be restricted to any particular image.

>
> Signed-off-by: Philippe Mathieu-Daudé <f4...@amsat.org>
> ---
>  tests/docker/Makefile.include | 10 ++++++++--
>  1 file changed, 8 insertions(+), 2 deletions(-)
>
> diff --git a/tests/docker/Makefile.include b/tests/docker/Makefile.include
> index 91d9665517..7d9d568eee 100644
> --- a/tests/docker/Makefile.include
> +++ b/tests/docker/Makefile.include
> @@ -99,11 +99,17 @@ docker-image-tricore-cross: docker-image-debian9
>
>  # Expand all the pre-requistes for each docker image and test combination
>  $(foreach i,$(DOCKER_IMAGES) $(DOCKER_DEPRECATED_IMAGES), \
> -     $(foreach t,$(DOCKER_TESTS) $(DOCKER_TOOLS), \
> +     $(foreach t,$(DOCKER_TESTS), \
>               $(eval .PHONY: docker-$t@$i) \
>               $(eval docker-$t@$i: docker-image-$i docker-run-$t@$i) \
> +             $(eval docker-test: docker-$t@$i) \
>       ) \
> -     $(foreach t,$(DOCKER_TESTS), \
> +)
> +# we only run Travis tests on the Travis image
> +$(foreach i,travis, \
> +     $(foreach t,$(DOCKER_TOOLS), \
> +             $(eval .PHONY: docker-$t@$i) \
> +             $(eval docker-$t@$i: docker-image-$i docker-run-$t@$i) \
>               $(eval docker-test: docker-$t@$i) \
>       ) \
>  )


--
Alex Bennée

Reply via email to