Skip to content

Commit

Permalink
Appveyor (#68)
Browse files Browse the repository at this point in the history
* Appveyor cert

* Removed export

* New attempt

* Cleaned appveyor

* version bump
  • Loading branch information
tommyod committed Oct 31, 2020
1 parent 3357a74 commit 66f4a03
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 4 additions & 8 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,11 @@ build_script:
- pip install -r requirements.txt
- python setup.py develop
- pip install --upgrade cibuildwheel wheel twine
- echo $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH
- echo $env:APPVEYOR_REPO_BRANCH
- echo "APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH = $env:APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH"
- echo "APPVEYOR_REPO_BRANCH = $env:APPVEYOR_REPO_BRANCH"
- echo APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH=%APPVEYOR_PULL_REQUEST_HEAD_REPO_BRANCH%
- echo APPVEYOR_REPO_BRANCH=%APPVEYOR_REPO_BRANCH%


# Run the tests (but linting is done on Travis)
test_script:
- pytest KDEpy --doctest-modules --doctest-glob="*.rst" --capture=sys
- pytest KDEpy --doctest-modules --doctest-glob="*.rst" --capture=sys


# Store user and password for twine - in preparation for upload
Expand All @@ -56,7 +50,9 @@ on_success:
- cmd: "echo $env:APPVEYOR_REPO_TAG"
- ps: |
if ($env:APPVEYOR_REPO_TAG -eq 'true' -or $env:APPVEYOR_REPO_TAG -eq 'True') {
pip install --upgrade cibuildwheel wheel twine
pip install --upgrade cibuildwheel wheel twine certifi
python -c "import certifi;print(certifi.where())">cacert.txt
"set /p SSL_CERT_FILE=<cacert.txt"
python -m cibuildwheel --output-dir wheelhouse
twine upload "wheelhouse/*.whl" --skip-existing
}
Expand Down
2 changes: 1 addition & 1 deletion KDEpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from KDEpy.TreeKDE import TreeKDE
from KDEpy.FFTKDE import FFTKDE

__version__ = "1.0.7"
__version__ = "1.0.8"
__author__ = "tommyod"

TreeKDE = TreeKDE
Expand Down

0 comments on commit 66f4a03

Please sign in to comment.