ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dankil...@apache.org
Subject incubator-ariatosca git commit: ARIA-28 Integrate with appveyor
Date Wed, 30 Nov 2016 12:13:16 GMT
Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-28-integrate-appveyor [created] c152b71c4


ARIA-28 Integrate with appveyor


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/c152b71c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/c152b71c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/c152b71c

Branch: refs/heads/ARIA-28-integrate-appveyor
Commit: c152b71c4f3e858237771b3ab7b5858b1a3dc907
Parents: d7addbc
Author: Dan Kilman <dank@gigaspaces.com>
Authored: Wed Nov 30 14:13:06 2016 +0200
Committer: Dan Kilman <dank@gigaspaces.com>
Committed: Wed Nov 30 14:13:06 2016 +0200

----------------------------------------------------------------------
 appveyor.yml | 26 ++++++++++++++++++++++++++
 tox.ini      |  7 +++++--
 2 files changed, 31 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/c152b71c/appveyor.yml
----------------------------------------------------------------------
diff --git a/appveyor.yml b/appveyor.yml
new file mode 100644
index 0000000..3ea8635
--- /dev/null
+++ b/appveyor.yml
@@ -0,0 +1,26 @@
+environment:
+
+  TOX_ENV: pywin
+
+  matrix:
+    - PYTHON: C:\Python27
+      PYTHON_VERSION: 2.7.8
+      PYTHON_ARCH: 32
+
+build: false
+
+install:
+  - SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%
+  - ps: (new-object System.Net.WebClient).Downloadfile('https://bootstrap.pypa.io/get-pip.py',
'C:\Users\appveyor\get-pip.py')
+  - ps: Start-Process -FilePath "C:\Python27\python.exe" -ArgumentList "C:\Users\appveyor\get-pip.py"
-Wait -Passthru
+
+before_test:
+  - pip install virtualenv --upgrade
+  - virtualenv env
+  - 'env\Scripts\activate.bat'
+  - pip install tox
+
+test_script:
+  - pip --version
+  - tox --version
+  - tox -e %TOX_ENV%

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/c152b71c/tox.ini
----------------------------------------------------------------------
diff --git a/tox.ini b/tox.ini
index 8355b19..68f9ffa 100644
--- a/tox.ini
+++ b/tox.ini
@@ -11,7 +11,7 @@
 # limitations under the License.
 
 [tox]
-envlist=py27,py26,pylint_code,pylint_tests
+envlist=py27,py26,pywin,pylint_code,pylint_tests
 
 [testenv]
 deps =
@@ -20,6 +20,7 @@ deps =
 basepython =
   py26: python2.6
   py27: python2.7
+  pywin: {env:PYTHON:}\python.exe
   pylint_code: python2.7
   pylint_tests: python2.7
 
@@ -29,9 +30,11 @@ commands=pytest tests --cov-report term-missing --cov aria
 [testenv:py26]
 commands=pytest tests --cov-report term-missing --cov aria
 
+[testenv:pywin]
+commands=pytest tests --cov-report term-missing --cov aria
+
 [testenv:pylint_code]
 commands=pylint --rcfile=aria/.pylintrc --disable=fixme,missing-docstring --ignore=commands.py
aria
 
 [testenv:pylint_tests]
 commands=pylint --rcfile=tests/.pylintrc --disable=fixme,missing-docstring tests
-


Mime
View raw message