diff options
Diffstat (limited to 'conan/build.py')
-rw-r--r-- | conan/build.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/conan/build.py b/conan/build.py index 55456311..9a857188 100644 --- a/conan/build.py +++ b/conan/build.py @@ -6,16 +6,6 @@ import subprocess from cpt.packager import ConanMultiPackager -def set_appveyor_environment(): - if os.getenv("APPVEYOR") is not None: - compiler_version = os.getenv("CMAKE_VS_VERSION").split(" ")[0].replace('"', '') - os.environ["CONAN_VISUAL_VERSIONS"] = compiler_version - os.environ["CONAN_STABLE_BRANCH_PATTERN"] = "master" - ci_platform = os.getenv("Platform").replace('"', '') - ci_platform = "x86" if ci_platform == "x86" else "x86_64" - os.environ["CONAN_ARCHS"] = ci_platform - os.environ["CONAN_BUILD_TYPES"] = os.getenv("Configuration").replace('"', '') - def get_branch(): try: @@ -56,7 +46,6 @@ if __name__ == "__main__": stable_branch_pattern = os.getenv("CONAN_STABLE_BRANCH_PATTERN", r"v\d+\.\d+\.\d+.*") test_folder = os.getenv("CPT_TEST_FOLDER", os.path.join("conan", "test_package")) upload_only_when_stable = os.getenv("CONAN_UPLOAD_ONLY_WHEN_STABLE", True) - set_appveyor_environment() builder = ConanMultiPackager(reference=get_reference(username), username=username, |