Skip to content

Commit

Permalink
Merge pull request #44 from cgq-qgc/pck_example_archive
Browse files Browse the repository at this point in the history
PR: Package example with AppVeyor as a Zip archive
  • Loading branch information
jnsebgosselin committed Nov 29, 2018
2 parents b538c97 + f9f129e commit 2b4e581
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ environment:
global:
APPVEYOR_RDP_PASSWORD: "dcca4c4863E30d56c2e0dda6327370b3#"
# Note: TWINE_PASSWORD and TWINE_USERNAME are set in Appveyor settings
PYHELP_VERSION: "v0.1.1.dev0"

matrix:
- PYTHON: "C:\\Miniconda36-x64"
Expand Down Expand Up @@ -69,12 +70,14 @@ test_script:

after_test:
- IF ["%APPVEYOR_PULL_REQUEST_NUMBER%"]==[""] (%PYTHON%/python.exe setup.py sdist bdist_wheel)
- 7z a -tzip dist/example_pyhelp_%PYHELP_VERSION%.zip example/*.csv example/help_example.py example/CWEEDS/*
- IF ["%APPVEYOR_REPO_TAG%"] == ["true"] (python -m twine upload dist/*)
- IF ["%APPVEYOR_PULL_REQUEST_NUMBER%"]==[""] (conda-build recipe --no-test --output-folder dist)

artifacts:
- path: 'dist/*.whl'
- path: 'dist/*.tar.gz'
- path: 'dist/example_pyhelp_%PYHELP_VERSION%.zip'
- path: 'dist/win-64/*.tar.bz2'

on_success:
Expand Down

0 comments on commit 2b4e581

Please sign in to comment.