-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathappveyor.yml
More file actions
56 lines (48 loc) · 1.26 KB
/
appveyor.yml
File metadata and controls
56 lines (48 loc) · 1.26 KB
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
os: Visual Studio 2015
clone_folder: c:\projects\gameboycore-python
branches:
only:
- master
environment:
password:
secure: VQENOcOB+fwiDwZ+Ojntvw==
matrix:
- PYTHON_ROOT: "C:\\Python35"
PYTHON_VERSION: 3.5
ARCH: 32
- PYTHON_ROOT: "C:\\Python35-x64"
PYTHON_VERSION: 3.5
ARCH: 64
- PYTHON_ROOT: "C:\\Python36"
PYTHON_VERSION: 3.6
ARCH: 32
- PYTHON_ROOT: "C:\\Python36-x64"
PYTHON_VERSION: 3.6
ARCH: 64
- PYTHON_ROOT: "C:\\Python37"
PYTHON_VERSION: 3.7
ARCH: 32
- PYTHON_ROOT: "C:\\Python37-x64"
PYTHON_VERSION: 3.7
ARCH: 64
init:
- set PATH=%PYTHON_ROOT%;%PYTHON_ROOT%\Scripts;%PYTHON_ROOT%\Lib;%PATH%
install:
- python --version
- pip --version
- pip install setuptools --upgrade
- pip install wheel
- pip install nose
build_script:
- cd c:\projects\gameboycore-python
- git submodule init && git submodule update
- pip install -e .
- nosetests -v -w tests
deploy_script:
- set HOME=%USERPROFILE%
- echo [pypirc] > %HOME%\\.pypirc
- echo servers=pypi >> %HOME%\\.pypirc
- echo [server-login] >> %HOME%\\.pypirc
- echo username:nnarain >> %HOME%\\.pypirc
- "echo password:%password% >> %HOME%\\.pypirc"
- python setup.py bdist_wheel upload