From 82520e0c8ef3ba059e7cac25e02cd70033cee5a8 2017-01-09 04:44:51 From: Kyle Kelley Date: 2017-01-09 04:44:51 Subject: [PATCH] Merge pull request #10124 from srinivasreddy/appveyor Add appveyor.yml --- diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..ce57d8d --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,46 @@ +build: false + +environment: + matrix: + - PYTHON: "C:\\Python33" + PYTHON_VERSION: "3.3.x" + PYTHON_ARCH: "32" + + - PYTHON: "C:\\Python34" + PYTHON_VERSION: "3.4.x" + PYTHON_ARCH: "32" + + - PYTHON: "C:\\Python35" + PYTHON_VERSION: "3.5.x" + PYTHON_ARCH: "32" + + - PYTHON: "C:\\Python36" + PYTHON_VERSION: "3.6.x" + PYTHON_ARCH: "32" + + - PYTHON: "C:\\Python33-x64" + PYTHON_VERSION: "3.3.x" + PYTHON_ARCH: "64" + + - PYTHON: "C:\\Python34-x64" + PYTHON_VERSION: "3.4.x" + PYTHON_ARCH: "64" + + - PYTHON: "C:\\Python35-x64" + PYTHON_VERSION: "3.5.x" + PYTHON_ARCH: "64" + + - PYTHON: "C:\\Python36-x64" + PYTHON_VERSION: "3.6.x" + PYTHON_ARCH: "64" + +init: + - "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%" + +install: + - "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%" + - "%CMD_IN_ENV% pip install setuptools>=18.5 --upgrade" + - "%CMD_IN_ENV% pip install nose coverage ipython[test] --upgrade" +test_script: + - "%CMD_IN_ENV% python -c 'True'" + diff --git a/setup.py b/setup.py index 0c36869..ddfe7a4 100755 --- a/setup.py +++ b/setup.py @@ -36,7 +36,9 @@ See IPython `README.rst` file for more information: https://github.com/ipython/ipython/blob/master/README.rst -""" +Python {} detected. + +""".format(sys.version_info) print(error, file=sys.stderr) sys.exit(1)