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

Commit 6fe8aa5

Browse files
committed
Add cryptography install
Use virtualenv chmod
1 parent 1d0efba commit 6fe8aa5

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.travis.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,19 @@ install:
1010
- pip install -r test_requirements.txt
1111

1212
script:
13+
- virtualenv virt64
14+
- source virt64/bin/activate
15+
- pip install -r requirements.txt
1316
- pip install -q pyinstaller==3.1
1417
- pip install -q setuptools==19.2
18+
- pip install -q cryptography
1519
- pyinstaller -D -F .travis/openbazaard.linux64.spec
1620
- "docker run -i -v \"${PWD}:/OpenBazaar\" toopher/ubuntu-i386:14.04 /bin/bash -c \"linux32 --32bit i386 /OpenBazaar/build.sh\""
1721
- sudo bash build-win.sh
1822
- sudo bash build-win64.sh
1923
- sudo chmod 777 dist/openbazaard-linux32
2024
- sudo chmod a+x dist/openbazaard-linux32
2125
- sudo chmod a+x dist/openbazaard-linux64
22-
- sudo chmod 777 dist/openbazaard-linux64
2326
- sudo chmod 777 dist/openbazaard.exe
2427
after_success:
2528
- coveralls

.travis/openbazaard.linux64.spec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ a = Analysis(['../openbazaard.py'],
1616
cipher=block_cipher)
1717
pyz = PYZ(a.pure, a.zipped_data,
1818
cipher=block_cipher)
19-
a.datas += [('../ob.cfg', 'ob.cfg', 'DATA'),('./bitcointools/english.txt','/home/travis/virtualenv/python2.7.10/lib/python2.7/site-packages/bitcointools/english.txt','DATA')]
19+
a.datas += [('../ob.cfg', 'ob.cfg', 'DATA'),('./bitcointools/english.txt','virt64/bitcointools/english.txt','DATA')]
2020
pyz = PYZ(a.pure, a.zipped_data,
2121
cipher=block_cipher)
2222
exe = EXE(pyz,

0 commit comments

Comments
 (0)