forked from sharppy/SHARPpy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.appveyor.yml
66 lines (53 loc) · 1.5 KB
/
.appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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
# Add to path the current folder
- "SET PYTHONPATH=%PYTHONPATH%;%CD%"
# Install SHARPpy
- 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
build: off
# Turning off Test Script for now
test_script:
# - sharppy examples/data/14061619.OAX
- pytest -v
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
- 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
# Don't deploy because andover-off