Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Travis CI migration and packaging improvements #2990

Merged
merged 13 commits into from
May 17, 2018
Prev Previous commit
Use idiomatic python setup.py sdist
  • Loading branch information
asvetlov committed May 17, 2018
commit a045cffe38e7a64690bcf326f35ad02aa4426c0c
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ test_script:
- "tools/build.cmd %PYTHON%\\python.exe -m pytest tests"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why -m? Technically setup.py is not an importable module but just a script.
Did I miss something?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Running setup.py test is considered bad practice and it's broken in this CI for some reason. Thus we have to run pytest as it's designed to work.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, I see


after_test:
- "tools/build.cmd %PYTHON%\\python.exe -m setup sdist bdist_wheel"
- "tools/build.cmd %PYTHON%\\python.exe setup.py sdist bdist_wheel"

artifacts:
- path: dist\*
Expand Down