Skip to content

Commit

Permalink
add appveyor ci
Browse files Browse the repository at this point in the history
  • Loading branch information
yzhao062 committed Jul 28, 2019
1 parent 8160af5 commit 87ee409
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
build: off

# branches to build
branches:
# whitelist
only:
- master
- development
environment:
matrix:
- PYTHON: "C:\\Python35-x64"
- PYTHON: "C:\\Python36-x64"

skip_commits:
files:
- "*.yml"
- "*.rst"
- "*.md"
- "LICENSE"

init:
- "ECHO %PYTHON% %PYTHON_VERSION% %PYTHON_ARCH%"

install:
- "%PYTHON%\\python.exe -m pip install --upgrade pip setuptools"
- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install pytest"
- "%PYTHON%\\python.exe -m pip install -r requirements.txt"


test_script:
- "%PYTHON%\\python.exe -m pytest"

after_test:
- "%PYTHON%\\python.exe setup.py bdist_wheel"

artifacts:
- path: dist\*

notifications:
- provider: Email
to:
- yzhao062@gmail.com
on_build_success: false
on_build_failure: true
on_build_status_changed: true

0 comments on commit 87ee409

Please sign in to comment.