diff --git a/conans/client/cmd/new_ci.py b/conans/client/cmd/new_ci.py index b68ec3cf12c..492a22ddec6 100644 --- a/conans/client/cmd/new_ci.py +++ b/conans/client/cmd/new_ci.py @@ -10,6 +10,7 @@ {upload} linux: &linux os: linux + dist: xenial sudo: required language: python python: "3.6" @@ -48,7 +49,7 @@ env: CONAN_APPLE_CLANG_VERSIONS={version} """ -build_py = """from conan.packager import ConanMultiPackager +build_py = """from cpt.packager import ConanMultiPackager if __name__ == "__main__": @@ -103,9 +104,7 @@ appveyor = r"""build: false environment: - PYTHON: "C:\\Python27" - PYTHON_VERSION: "2.7.8" - PYTHON_ARCH: "32" + PYTHON: "C:\\Python37" CONAN_REFERENCE: "{name}/{version}" CONAN_USERNAME: "{user}" diff --git a/conans/test/command/new_test.py b/conans/test/command/new_test.py index c6b035077b5..e6b99d12087 100644 --- a/conans/test/command/new_test.py +++ b/conans/test/command/new_test.py @@ -135,6 +135,7 @@ def new_ci_test(self): self.assertIn('CONAN_REFERENCE: "MyPackage/1.3"', appveyor) self.assertIn('CONAN_USERNAME: "myuser"', appveyor) self.assertIn('CONAN_CHANNEL: "testing"', appveyor) + self.assertIn(r'PYTHON: "C:\\Python37"', appveyor) self.assertIn('CONAN_VISUAL_VERSIONS: 12', appveyor) self.assertIn('CONAN_VISUAL_VERSIONS: 14', appveyor) self.assertIn('CONAN_VISUAL_VERSIONS: 15', appveyor)