While we can find reference of a 'TRAVIS_ARCH' variable in the environment and source [1], per the Travis-CI multi-arch documentation [2] the variable is named TRAVIS_CPU_ARCH.
[1] https://github.com/travis-ci/travis-build/blob/v10.0.0/lib/travis/build/bash/travis_setup_env.bash#L39 [2] https://docs.travis-ci.com/user/multi-cpu-architectures/#identifying-cpu-architecture-of-build-jobs Signed-off-by: Philippe Mathieu-Daudé <phi...@redhat.com> --- tests/test-util-filemonitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-util-filemonitor.c b/tests/test-util-filemonitor.c index 45009c69f4..e703a7f8fc 100644 --- a/tests/test-util-filemonitor.c +++ b/tests/test-util-filemonitor.c @@ -415,7 +415,7 @@ test_file_monitor_events(void) * This test does not work on Travis LXD containers since some * syscalls are blocked in that environment. */ - travis_arch = getenv("TRAVIS_ARCH"); + travis_arch = getenv("TRAVIS_CPU_ARCH"); if (travis_arch && !g_str_equal(travis_arch, "x86_64")) { g_test_skip("Test does not work on non-x86 Travis containers."); return; -- 2.21.1