Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 39d0fe3

Browse files
committed
Add additional Deployment
Add 64-bit Windows
1 parent e6e823d commit 39d0fe3

File tree

5 files changed

+24
-13
lines changed

5 files changed

+24
-13
lines changed

.travis.yml

+20-9
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,23 @@ after_success:
1818
before_deploy:
1919
- export RELEASE_PKG_FILE=$(ls dist/openbazaard*)
2020
deploy:
21-
provider: releases
22-
api_key: "$GITHUB_TOKEN"
23-
file_glob: true
24-
file:
25-
- "${RELEASE_PKG_FILE}"
26-
- "ob.cfg"
27-
skip_cleanup: true
28-
on:
29-
all_branches: true
21+
- provider: releases
22+
api_key: "$GITHUB_TOKEN"
23+
file_glob: true
24+
file:
25+
- dist/openbazaard-linux32
26+
- dist/openbazaard-linux64
27+
- dist/openbazaard.exe
28+
skip_cleanup: true
29+
on:
30+
all_branches: true
31+
condition: $TRAVIS_OS_NAME = linux
32+
- provider: releases
33+
api_key: "$GITHUB_TOKEN"
34+
file_glob: true
35+
file:
36+
- dist/openbazaard-osx*
37+
skip_cleanup: true
38+
on:
39+
all_branches: true
40+
condition: $TRAVIS_OS_NAME = osx

.travis/openbazaard.win.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ exe = EXE(pyz,
3030
a.binaries,
3131
a.zipfiles,
3232
a.datas,
33-
name='openbazaard',
33+
name='openbazaard-windows32',
3434
icon='windows\\icon.ico',
3535
debug=True,
3636
strip=False,

.travis/openbazaard.win64.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ exe = EXE(pyz,
3030
a.binaries,
3131
a.zipfiles,
3232
a.datas,
33-
name='openbazaard',
33+
name='openbazaard-windows64',
3434
icon='windows\\icon.ico',
3535
debug=False,
3636
strip=False,

build-win.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,6 @@ wine c:/Python27/python -m pip install https://pypi.python.org/packages/7a/ec/47
7474
wget -N https://github.com/pyinstaller/pyinstaller/releases/download/v3.1/PyInstaller-3.1.zip
7575
unzip -o PyInstaller-3.1.zip
7676
cd ../..
77-
wine C:/Python27/python.exe dist/windows32/PyInstaller-3.1/pyinstaller.py -F -n openbazaard.exe -i images/icon.ico .travis/openbazaard.win.spec --noconfirm --log-level=DEBUG
77+
wine C:/Python27/python.exe dist/windows32/PyInstaller-3.1/pyinstaller.py -F -n openbazaard-windows32.exe -i images/icon.ico .travis/openbazaard.win.spec --noconfirm --log-level=DEBUG
7878

7979

build-win64.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,5 @@ wine cmd /c "copy c:\\Windows\\System32\\msvcm90.dll c:\\python27"
6868
wget -N https://github.com/pyinstaller/pyinstaller/releases/download/v3.1/PyInstaller-3.1.zip
6969
unzip -o PyInstaller-3.1.zip
7070
cd ../..
71-
wine C:/Python27/python.exe dist/windows64/PyInstaller-3.1/pyinstaller.py -F -n openbazaard.exe -i images/icon.ico .travis/openbazaard.win64.spec --noconfirm
71+
wine C:/Python27/python.exe dist/windows64/PyInstaller-3.1/pyinstaller.py -F -n openbazaard-windows64.exe -i images/icon.ico .travis/openbazaard.win64.spec --noconfirm
7272

0 commit comments

Comments
 (0)