Skip to content

Commit

Permalink
add support for appveyor -- first trial
Browse files Browse the repository at this point in the history
  • Loading branch information
asampat3090 committed Apr 20, 2018
1 parent d505a4c commit 06bc86f
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Datmo
[![Build Status](https://travis-ci.org/datmo/datmo.svg?branch=master)](https://travis-ci.org/datmo/datmo)
[![Build status](https://ci.appveyor.com/api/projects/status/5302d8a23qr4ui4y/branch/master?svg=true)](https://ci.appveyor.com/project/asampat3090/datmo/branch/master)
[![Coverage Status](https://coveralls.io/repos/github/datmo/datmo/badge.svg?branch=master)](https://coveralls.io/github/datmo/datmo?branch=master)
[![Documentation Status](https://readthedocs.org/projects/datmo/badge/?version=latest)](http://datmo.readthedocs.io/en/latest/?badge=latest)
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/853b3d01b4424ac9aa72f9d5fead83b3)](https://www.codacy.com/app/datmo/datmo)
Expand Down
42 changes: 42 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
environment:
global:
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
# /E:ON and /V:ON options are not enabled in the batch script intepreter
# See: http://stackoverflow.com/a/13751649/163740
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"

matrix:
- PYTHON: "C:\\Python27"
PYTHON_VERSION: "2.7.x"

- PYTHON: "C:\\Python34"
PYTHON_VERSION: "3.4.x"

- PYTHON: "C:\\Python35"
PYTHON_VERSION: "3.5.x"

- PYTHON: "C:\\Python27-x64"
PYTHON_VERSION: "2.7.x"

- PYTHON: "C:\\Python34-x64"
DISTUTILS_USE_SDK: "1"
PYTHON_VERSION: "3.4.x"

- PYTHON: "C:\\Python35-x64"
PYTHON_VERSION: "3.5.x"

- PYTHON: "C:\\Python36-x64"
PYTHON_VERSION: "3.6.x"

build: false
init:
- "ECHO %PYTHON%"
- ps: "ls C:/Python*"
install:
- ps: '[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12'
- ps: (new-object net.webclient).DownloadFile('https://bootstrap.pypa.io/get-pip.py', 'C:/get-pip.py')
- "%PYTHON%/python.exe C:/get-pip.py"
- "%PYTHON%/python.exe setup.py install"
test_script:
- "%PYTHON%/Scripts/pip.exe --version"
- "%PYTHON%/Scripts/py.test"

0 comments on commit 06bc86f

Please sign in to comment.