Skip to content

Commit

Permalink
update appveyor.yml config, use pytest and build wheel
Browse files Browse the repository at this point in the history
  • Loading branch information
astanin committed Mar 23, 2020
1 parent 27e4bb9 commit b839e9f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ environment:

install:
# We need wheel installed to build wheels
#- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install nose numpy pandas"
- "%PYTHON%\\python.exe -m pip install wheel"
- "%PYTHON%\\python.exe -m pip install pytest numpy pandas"

build: off

Expand All @@ -34,15 +34,15 @@ test_script:
# the interpreter you're using - Appveyor does not do anything special
# to put the Python version you want to use on PATH.
#- "build.cmd %PYTHON%\\python.exe setup.py test"
- "%PYTHON%\\python.exe -m nose -v --with-doctest -i 'py3test_*' test tabulate.py"
- "%PYTHON%\\python.exe -m pytest -v --doctest-modules --ignore benchmark.py"

after_test:
# This step builds your wheels.
# Again, you only need build.cmd if you're building C extensions for
# 64-bit Python 3.3/3.4. And you need to use %PYTHON% to get the correct
# interpreter
#- "build.cmd %PYTHON%\\python.exe setup.py bdist_wheel"
- "%PYTHON%\\python.exe setup.py sdist"
- "%PYTHON%\\python.exe setup.py sdist bdist_wheel"

artifacts:
# bdist_wheel puts your built wheel in the dist directory
Expand Down

0 comments on commit b839e9f

Please sign in to comment.