-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
29 changed files
with
1,661 additions
and
641 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ venv/ | |
dist/ | ||
build/ | ||
*.ini | ||
_*/ | ||
.coverage | ||
_* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,52 @@ | ||
# Do not build on tags (GitHub and BitBucket) | ||
skip_tags: true | ||
|
||
branches: | ||
only: | ||
- master | ||
- dev | ||
|
||
environment: | ||
matrix: | ||
- PYTHON: "C:\\Python35" | ||
PYTHON_VERSION: "3.5.x" | ||
PYTHON_ARCH: "32" | ||
- PYTHON: "C:\\Python37" | ||
PYTHON_VERSION: "3.7.x" | ||
PYTHON_ARCH: "32" | ||
init: | ||
- "SET PATH=%PYTHON%;%PATH%" | ||
- "SET PATH=%PYTHON%;%PATH%" | ||
|
||
- python -V | ||
- "%PYTHON%\\Scripts\\pip.exe install --upgrade pip" | ||
- "%PYTHON%\\Scripts\\pip.exe install --upgrade setuptools wheel virtualenv" | ||
- python -V | ||
- python -m pip install --upgrade pip | ||
- python -m pip install --upgrade setuptools wheel virtualenv | ||
|
||
before_build: | ||
- python -m virtualenv venv | ||
- venv\Scripts\activate | ||
- python -c "import sys; print(sys.executable)" | ||
- pip install -r requirements.txt | ||
- python -m virtualenv venv | ||
- venv\Scripts\activate | ||
- python -c "import sys; print(sys.executable)" | ||
- pip install -r requirements.txt | ||
- pip install -r requirements_dev.txt | ||
|
||
build_script: | ||
- pip install pyinstaller | ||
- pyinstaller mapviewer.spec | ||
- python -c "print('dummy build stage to disable MSBuild')" | ||
|
||
test_script: | ||
- python -m pytest | ||
|
||
artifacts: | ||
- path: 'dist\*' | ||
- path: 'dist/*.exe' | ||
- path: 'build/coverage/html/*' | ||
|
||
deploy: | ||
- provider: GitHub | ||
release: v$(appveyor_build_version) | ||
description: Build v$(appveyor_build_version) | ||
auth_token: | ||
secure: aEuceXtTw4tyxWydRznIxKqzxFIkZAFriOlmvvjYFsmP57I/0uWNWCZc2GcRylOa | ||
artifact: dist\StarboundMapViewer.exe | ||
draft: false | ||
on: | ||
branch: master | ||
appveyor_repo_tag: false | ||
- provider: GitHub | ||
release: v$(appveyor_build_version) | ||
description: Build v$(appveyor_build_version) | ||
auth_token: | ||
secure: aEuceXtTw4tyxWydRznIxKqzxFIkZAFriOlmvvjYFsmP57I/0uWNWCZc2GcRylOa | ||
artifact: dist/StarboundMapViewer.exe | ||
draft: false | ||
on: | ||
branch: master | ||
appveyor_repo_tag: false | ||
|
||
before_deploy: | ||
- pip install pyinstaller | ||
- pyinstaller mapviewer.spec |
Oops, something went wrong.