File tree Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Expand file tree Collapse file tree 2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 6
6
install :
7
7
- pip install -r contrib/requirements/requirements-travis.txt
8
8
cache :
9
- - pip
9
+ - pip : true
10
+ - directories :
11
+ - /tmp/electrum-build
10
12
script :
11
13
- tox
12
14
after_success :
24
26
- sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/
25
27
- sudo apt-get update -qq
26
28
- sudo apt-get install -qq winehq-stable dirmngr gnupg2 p7zip-full
29
+ before_script : ls -lah /tmp/electrum-build
27
30
script : ./contrib/build-wine/build.sh
28
31
after_success : true
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ verify_hash() {
42
42
return 0
43
43
else
44
44
echo " $file $actual_hash (unexpected hash)" >&2
45
+ rm " $file "
45
46
exit 1
46
47
fi
47
48
}
@@ -54,7 +55,7 @@ download_if_not_exist() {
54
55
}
55
56
56
57
# Let's begin!
57
- cd ` dirname $0 `
58
+ here= $( dirname $( readlink -e $0 ) )
58
59
set -e
59
60
60
61
# Clean up Wine environment
@@ -64,11 +65,9 @@ echo "done"
64
65
65
66
wine ' wineboot'
66
67
67
- echo " Cleaning tmp"
68
- mkdir -p tmp
69
- echo " done"
68
+ mkdir -p /tmp/electrum-build
70
69
71
- cd tmp
70
+ cd / tmp/electrum-build
72
71
73
72
# Install Python
74
73
# note: you might need "sudo apt-get install dirmngr" for the following
@@ -94,7 +93,7 @@ $PYTHON -m pip install pywin32-ctypes==0.1.2
94
93
# install PySocks
95
94
$PYTHON -m pip install win_inet_pton==1.0.1
96
95
97
- $PYTHON -m pip install -r .. /../deterministic-build/requirements-binaries.txt
96
+ $PYTHON -m pip install -r $here /../deterministic-build/requirements-binaries.txt
98
97
99
98
# Install PyInstaller
100
99
$PYTHON -m pip install https://github.com/ecdsa/pyinstaller/archive/fix_2952.zip
You can’t perform that action at this time.
0 commit comments