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

Commit a2eefd3

Browse files
committed
Change Windows filenames
Mac fixes Fix Windows upload links
1 parent 39d0fe3 commit a2eefd3

File tree

5 files changed

+46
-16
lines changed

5 files changed

+46
-16
lines changed

.travis.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ install:
1313
- pip install -r test_requirements.txt
1414
script:
1515
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo bash travis-linux.sh; fi
16+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sudo bash travis-osx.sh; fi
1617
after_success:
1718
- coveralls
1819
before_deploy:
@@ -24,7 +25,8 @@ deploy:
2425
file:
2526
- dist/openbazaard-linux32
2627
- dist/openbazaard-linux64
27-
- dist/openbazaard.exe
28+
- dist/openbazaard-windows32.exe
29+
- dist/openbazaard-windows64.exe
2830
skip_cleanup: true
2931
on:
3032
all_branches: true
@@ -33,7 +35,7 @@ deploy:
3335
api_key: "$GITHUB_TOKEN"
3436
file_glob: true
3537
file:
36-
- dist/openbazaard-osx*
38+
- dist/openbazaard-osx
3739
skip_cleanup: true
3840
on:
3941
all_branches: true

.travis/openbazaard.mac.spec

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# -*- mode: python -*-
2+
3+
block_cipher = None
4+
5+
6+
a = Analysis(['./OpenBazaar-Server/openbazaard.py'],
7+
pathex=['./OpenBazaar-Server'],
8+
binaries=None,
9+
datas=None,
10+
hiddenimports=['zmq', 'cryptography', 'cffi', 'packaging'],
11+
hookspath=None,
12+
runtime_hooks=None,
13+
excludes=None,
14+
win_no_prefer_redirects=None,
15+
win_private_assemblies=None,
16+
cipher=block_cipher)
17+
a.datas += [('ob.cfg', 'ob.cfg', 'DATA'),('bitcointools/english.txt','env/lib/python2.7/site-packages/bitcointools/english.txt','DATA')]
18+
pyz = PYZ(a.pure, a.zipped_data,
19+
cipher=block_cipher)
20+
exe = EXE(pyz,
21+
a.scripts,
22+
a.binaries,
23+
a.zipfiles,
24+
a.datas,
25+
name='openbazaard-osx',
26+
debug=True,
27+
strip=None,
28+
upx=True,
29+
console=True)

travis-linux.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,5 @@ sudo chmod 777 dist/openbazaard-linux32
88
sudo chmod a+x dist/openbazaard-linux32
99
sudo chmod 777 dist/openbazaard-linux64
1010
sudo chmod a+x dist/openbazaard-linux64
11-
ls -alg dist/openbazaard-linux64
12-
sudo chmod 777 dist/openbazaard.exe
11+
sudo chmod 777 dist/openbazaard-windows64.exe
12+
sudo chmod 777 dist/openbazaard-windows32.exe

travis-linux.sh~

-12
This file was deleted.

travis-osx.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/bin/bash
2+
3+
virtualenv env
4+
. env/bin/activate
5+
pip install --upgrade pip
6+
pip install --ignore-installed -r requirements.txt
7+
pip install --ignore-installed pyinstaller==3.1
8+
pip install setuptools==19.1
9+
env/bin/pyinstaller -F -n openbazaard-osx -i osx/tent.icns --osx-bundle-identifier=com.openbazaar.openbazaard .travis/openbazaard.mac.spec
10+
echo 'Completed building OpenBazaar-Server binary...'
11+

0 commit comments

Comments
 (0)