Skip to content

Commit

Permalink
Merge pull request #5 from Ajedi32/appveyor
Browse files Browse the repository at this point in the history
Run tests in AppVeyor
  • Loading branch information
Ajedi32 committed Dec 4, 2018
2 parents 0614d48 + e2718e4 commit 028ec1d
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
environment:
matrix:
# Pre-installed Python versions
# See: https://www.appveyor.com/docs/windows-images-software/#python
# Note: Right now, only 3.7 is used since other versions are ignored by
# Pipenv.
- PYTHON: C:\Python37-x64

init:
- ps: $env:PATH = "$env:PYTHON;" + $env:PATH
- ps: $PYTHON_SITE_SCRIPTS = Join-Path -Path $(Split-Path -Path $(python -m site --user-site) -Parent) -ChildPath Scripts
- ps: $PYTHON_SYSTEM_SCRIPTS = Join-Path -Path $env:PYTHON -ChildPath Scripts
- ps: $env:PATH = "$PYTHON_SITE_SCRIPTS;$PYTHON_SYSTEM_SCRIPTS;" + $env:PATH

# Debug info
- 'echo "Python directory: %PYTHON%"'
- 'echo "PATH: %PATH%"'
- python --version
- pip --version

install:
- pip install --user pipenv
- pipenv install --dev

build: false

test_script:
# Automated tests
- pipenv run pytest tests/

# Test build
- pipenv run python setup.py sdist bdist_wheel

# Test doc generation
- pipenv run sphinx-build docs/source/ docs/build/
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[![AppVeyor Windows Build Status](https://ci.appveyor.com/api/projects/status/v0dcr07ijca9cw5w/branch/master?svg=true
)](https://ci.appveyor.com/project/Ajedi32/echovr-api/branch/master)

# Echo VR API

Python bindings for Echo VR's HTTP API.
Expand Down

0 comments on commit 028ec1d

Please sign in to comment.