From 4d6e1d933032a30b19d4ca3d237aee77b40bcb28 Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Mon, 22 Jun 2020 16:55:15 +0200 Subject: [PATCH] Another approach to make ""mp-units:CONAN_RUN_TESTS" work correctly --- .travis.yml | 4 ---- build.py | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1fca9557..79e704eb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,3 @@ -env: - global: - - mp-units:CONAN_RUN_TESTS: TRUE - linux: &linux os: linux dist: xenial diff --git a/build.py b/build.py index c923c4c8..903ff2eb 100644 --- a/build.py +++ b/build.py @@ -26,4 +26,5 @@ if __name__ == "__main__": builder.add_common_builds(pure_c=False) for settings, options, env_vars, build_requires, reference in builder.items: settings["compiler.cppstd"] = "20" + env_vars["mp-units:CONAN_RUN_TESTS"] = "True" builder.run()