This repository was archived by the owner on May 16, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +45
-24
lines changed Expand file tree Collapse file tree 5 files changed +45
-24
lines changed Original file line number Diff line number Diff line change 11language : python
22sudo : true
3+ os :
4+ - linux
5+ - osx
36python :
47 - " 2.7"
58services :
69 - docker
710install :
8- - pip install --upgrade pip
9- - pip install -r requirements.txt
10- - pip install -r test_requirements.txt
11-
12- script :
13- - virtualenv virt64
14- - source virt64/bin/activate
11+ - pip install --upgrade pip
1512 - pip install -r requirements.txt
16- - pip install -q pyinstaller==3.1
17- - pip install -q setuptools==19.2
18- - pip install -q cryptography
19- - pyinstaller -D -F .travis/openbazaard.linux64.spec
20- - " docker run -i -v \" ${PWD}:/OpenBazaar\" toopher/ubuntu-i386:14.04 /bin/bash -c \" linux32 --32bit i386 /OpenBazaar/build.sh\" "
21- - sudo bash build-win.sh
22- - sudo bash build-win64.sh
23- - sudo chmod 777 dist/openbazaard-linux32
24- - sudo chmod a+x dist/openbazaard-linux32
25- - sudo chmod a+x dist/openbazaard-linux64
26- - sudo chmod 777 dist/openbazaard.exe
13+ - pip install -r test_requirements.txt
14+ script :
15+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo bash travis-linux.sh; fi
2716after_success :
28- - coveralls
17+ - coveralls
18+ before_deploy :
19+ - export RELEASE_PKG_FILE=$(ls dist/openbazaard*)
2920deploy :
3021 provider : releases
3122 api_key : " $GITHUB_TOKEN"
23+ file_glob : true
3224 file :
33- - " dist/openbazaard-linux32"
34- - " dist/openbazaard-linux64"
35- - " dist/openbazaard.exe"
25+ - " ${RELEASE_PKG_FILE}"
3626 - " ob.cfg"
3727 skip_cleanup : true
3828 on :
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ mkdir dist
77
88# case "$TRAVIS_OS_NAME" in
99# "linux")
10-
11-
1210 cd OpenBazaar/
1311
1412 echo " Building Linux Binaries...."
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ virtualenv virt64
4+ source virt64/bin/activate
5+ pip install -r requirements.txt
6+ pip install -q pyinstaller==3.1
7+ pip install -q setuptools==19.2
8+ pip install -q cryptography
9+ pyinstaller -D -F .travis/openbazaard.linux64.spec
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ sudo bash build-linux64.sh
4+ sudo docker run -i -v " ${PWD} :/OpenBazaar" toopher/ubuntu-i386:14.04 /bin/bash -c " linux32 --32bit i386 /OpenBazaar/build-linux32.sh"
5+ sudo bash build-win.sh
6+ sudo bash build-win64.sh
7+ sudo chmod 777 dist/openbazaard-linux32
8+ sudo chmod a+x dist/openbazaard-linux32
9+ sudo chmod 777 dist/openbazaard-linux64
10+ sudo chmod a+x dist/openbazaard-linux64
11+ ls -alg dist/openbazaard-linux64
12+ sudo chmod 777 dist/openbazaard.exe
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ sudo bash build-linux64.sh
4+ docker run -i -v " ${PWD} :/OpenBazaar" toopher/ubuntu-i386:14.04 /bin/bash -c " linux32 --32bit i386 /OpenBazaar/build-linux32.sh"
5+ sudo bash build-win.sh
6+ sudo bash build-win64.sh
7+ sudo chmod 777 dist/openbazaard-linux32
8+ sudo chmod a+x dist/openbazaard-linux32
9+ sudo chmod 777 dist/openbazaard-linux64
10+ sudo chmod a+x dist/openbazaard-linux64
11+ ls -alg dist/openbazaard-linux64
12+ sudo chmod 777 dist/openbazaard.exe
You can’t perform that action at this time.
0 commit comments