-
Notifications
You must be signed in to change notification settings - Fork 110
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
49 changed files
with
464 additions
and
62,210 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 |
---|---|---|
@@ -1,66 +1,66 @@ | ||
environment: | ||
matrix: | ||
- PYTHON_VERSION: 3.6 | ||
MINICONDA: C:\Miniconda3 | ||
ARCH: "64" | ||
NUMPY_VERSION: "1.15.*" | ||
init: | ||
- "ECHO %PYTHON_VERSION% %MINICONDA%" | ||
|
||
install: | ||
- "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%" | ||
- conda config --set always_yes yes --set changeps1 no | ||
- conda update -q conda | ||
- conda info -a | ||
- conda env create -f environment.yml | ||
|
||
# Install dependencies | ||
- activate devel | ||
|
||
#environment: | ||
# matrix: | ||
# - PYTHON_VERSION: 3.6 | ||
# MINICONDA: C:\Miniconda3 | ||
# ARCH: "64" | ||
# NUMPY_VERSION: "1.15.*" | ||
#init: | ||
# - "ECHO %PYTHON_VERSION% %MINICONDA%" | ||
# | ||
#install: | ||
# - "set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%" | ||
# - conda config --set always_yes yes --set changeps1 no | ||
# - conda update -q conda | ||
# - conda info -a | ||
# - conda env create -f environment.yml | ||
# | ||
# # Install dependencies | ||
# - activate devel | ||
# | ||
# Add to path the current folder | ||
- "SET PYTHONPATH=%PYTHONPATH%;%CD%" | ||
# - "SET PYTHONPATH=%PYTHONPATH%;%CD%" | ||
|
||
# Install SHARPpy | ||
- python setup.py -q install | ||
# - python setup.py -q install | ||
|
||
# Resize the screen | ||
#- nuget restore | ||
- ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/set-screenresolution.ps1')) | ||
- ps: Set-ScreenResolution 1366 768 | ||
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/set-screenresolution.ps1')) | ||
# - ps: Set-ScreenResolution 1366 768 | ||
|
||
build: off | ||
#build: off | ||
|
||
# Turning off Test Script for now | ||
test_script: | ||
#test_script: | ||
# - sharppy examples/data/14061619.OAX | ||
- pytest -v | ||
|
||
after_test: | ||
- "conda list" | ||
- "cd runsharp" | ||
- "pyinstaller SHARPpy-win7-%ARCH%.spec" | ||
- "cd .." | ||
#after_test: | ||
# - "conda list" | ||
# - "cd runsharp" | ||
# - "pyinstaller SHARPpy-win7-%ARCH%.spec" | ||
# - "cd .." | ||
# - "move dist\\SHARPpy.exe dist\\SHARPpy%ARCH%.exe" | ||
|
||
artifacts: | ||
- path: "runsharp\\dist\\SHARPpy64.exe" | ||
name: binary | ||
|
||
- path: "*.png" | ||
name: test images | ||
#artifacts: | ||
# - path: "runsharp\\dist\\SHARPpy64.exe" | ||
# name: binary | ||
# | ||
# - path: "*.png" | ||
# name: test images | ||
|
||
- path: "examples\\data\\14061619.png" | ||
name: test gui | ||
# - path: "examples\\data\\14061619.png" | ||
# name: test gui | ||
|
||
deploy: | ||
provider: GitHub | ||
release: $(appveyor_repo_tag_name) | ||
auth_token: | ||
secure: DB6sQwYCM7Dhhy+mjPkMd6kclvw0Sc2wglTJxcTBQue63dtIQRNa1dz/aqJG7Ygc | ||
artifact: "runsharp\\dist\\SHARPpy64.exe" | ||
draft: true | ||
prerelease: true | ||
on: | ||
appveyor_repo_tag: true | ||
#deploy: | ||
# provider: GitHub | ||
# release: $(appveyor_repo_tag_name) | ||
# auth_token: | ||
# secure: DB6sQwYCM7Dhhy+mjPkMd6kclvw0Sc2wglTJxcTBQue63dtIQRNa1dz/aqJG7Ygc | ||
# artifact: "runsharp\\dist\\SHARPpy64.exe" | ||
# draft: true | ||
# prerelease: true | ||
# on: | ||
# appveyor_repo_tag: true | ||
|
||
# Don't deploy because andover-off |
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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.git | ||
Dockerfile |
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
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
FROM python:2.7 | ||
|
||
RUN apt-get -y update \ | ||
&& apt-get install -y libqt4-dev cmake xvfb | ||
|
||
RUN pip install numpy==1.13 pyside==1.2.4 | ||
|
||
COPY . /sharppy | ||
WORKDIR /sharppy | ||
RUN python setup.py install | ||
|
||
WORKDIR /sharppy/runsharp | ||
CMD python full_gui.py |
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
Oops, something went wrong.