Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
duecredit/appveyor.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
36 lines (29 sloc)
1.09 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
environment: | |
matrix: | |
- PYTHON: C:\Python27 | |
- PYTHON: C:\Python35 | |
- PYTHON: C:\Python36 | |
- PYTHON: C:\Python37 | |
init: | |
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH% %MINICONDA%" | |
# Not a .NET project, we build in the install step instead | |
build: false | |
install: | |
# Prepend newly installed Python to the PATH of this build (this cannot be | |
# done from inside the powershell script as it would require to restart | |
# the parent CMD process). | |
- SET PATH=%PYTHON%;%PYTHON%\Scripts;%PATH% | |
- python -m pip install --upgrade pip virtualenv | |
- virtualenv --python=python venv | |
- venv\Scripts\activate | |
- python --version | |
# Install the dependencies of the project. | |
- pip install --upgrade pip setuptools>=27.0 wheel | |
- pip install -e .[tests] | |
- pip install coverage | |
test_script: | |
- coverage run --source duecredit -m py.test -v | |
- python setup.py install | |
# for interactive debugging upon completion (have 30 min to react) | |
#on_finish: | |
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1')) |