From 2fb3d6caed229ac1900561e2f1a5289694fd2dd3 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 26 Jun 2015 18:10:04 +0200 Subject: [PATCH 1/3] add appveyor --- .appveyor.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 000000000..785e7dccc --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,7 @@ +shallow_clone: true +install: + - ps: "pip install --src . -r requirements.txt" + - ps: "python -c 'from OpenSSL import SSL; print SSL.SSLeay_version(SSL.SSLEAY_VERSION)'" +build: off # Not a C# project +test_script: + - ps: "nosetests --with-cov --cov-report term-missing" \ No newline at end of file From 93e515c02ff811a1e721c4a4e89396382576ce86 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 26 Jun 2015 18:24:33 +0200 Subject: [PATCH 2/3] appveyor: use explicit python version --- .appveyor.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index 785e7dccc..ef0e59d72 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,7 +1,10 @@ shallow_clone: true +environment: + matrix: + - PYTHON: "C:\\Python27" install: - - ps: "pip install --src . -r requirements.txt" - - ps: "python -c 'from OpenSSL import SSL; print SSL.SSLeay_version(SSL.SSLEAY_VERSION)'" + - "%PYTHON%\\Scripts\\pip install --src . -r requirements.txt" + - "%PYTHON%\\python -c \"from OpenSSL import SSL; print SSL.SSLeay_version(SSL.SSLEAY_VERSION)\"" build: off # Not a C# project test_script: - - ps: "nosetests --with-cov --cov-report term-missing" \ No newline at end of file + - "%PYTHON%\\Scripts\nosetests --with-cov --cov-report term-missing" \ No newline at end of file From 5b02d5417ab48ec65ee51b2b04bfc15643a5bad0 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Fri, 26 Jun 2015 18:36:28 +0200 Subject: [PATCH 3/3] appveyor: minor fixes --- .appveyor.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index ef0e59d72..4e690c067 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,10 +1,11 @@ +version: '{build}' shallow_clone: true environment: matrix: - PYTHON: "C:\\Python27" install: - "%PYTHON%\\Scripts\\pip install --src . -r requirements.txt" - - "%PYTHON%\\python -c \"from OpenSSL import SSL; print SSL.SSLeay_version(SSL.SSLEAY_VERSION)\"" + - "%PYTHON%\\python -c \"from OpenSSL import SSL; print(SSL.SSLeay_version(SSL.SSLEAY_VERSION))\"" build: off # Not a C# project test_script: - - "%PYTHON%\\Scripts\nosetests --with-cov --cov-report term-missing" \ No newline at end of file + - "%PYTHON%\\Scripts\\nosetests" \ No newline at end of file