This repository was archived by the owner on May 16, 2019. It is now read-only.
File tree 5 files changed +45
-24
lines changed
5 files changed +45
-24
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
sudo : true
3
+ os :
4
+ - linux
5
+ - osx
3
6
python :
4
7
- " 2.7"
5
8
services :
6
9
- docker
7
10
install :
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
15
12
- 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
27
16
after_success :
28
- - coveralls
17
+ - coveralls
18
+ before_deploy :
19
+ - export RELEASE_PKG_FILE=$(ls dist/openbazaard*)
29
20
deploy :
30
21
provider : releases
31
22
api_key : " $GITHUB_TOKEN"
23
+ file_glob : true
32
24
file :
33
- - " dist/openbazaard-linux32"
34
- - " dist/openbazaard-linux64"
35
- - " dist/openbazaard.exe"
25
+ - " ${RELEASE_PKG_FILE}"
36
26
- " ob.cfg"
37
27
skip_cleanup : true
38
28
on :
Original file line number Diff line number Diff line change @@ -7,8 +7,6 @@ mkdir dist
7
7
8
8
# case "$TRAVIS_OS_NAME" in
9
9
# "linux")
10
-
11
-
12
10
cd OpenBazaar/
13
11
14
12
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