We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b67aef commit dd4ec8cCopy full SHA for dd4ec8c
1 file changed
.travis/script.sh
@@ -2,10 +2,24 @@
2
3
set -ex
4
5
-./appimage/build-plugin.sh
6
-./appimage/build-python.sh python2
7
-./appimage/build-python.sh python3
8
-./appimage/build-python.sh scipy
9
-./appimage/build-python.sh xonsh
+
+wrapped_run() {
+ local script="./appimage/build-$1.sh"
+ local arg="$2"
+ local log
10
+ if [ -z "$2" ]; then
11
+ log="plugin.log"
12
+ else
13
+ log="${2}.log"
14
+ fi
15
16
+ ("${script}" "${arg}" >& "${log}" ; tail -300 "${log}")
17
+}
18
19
+wrapped_run plugin
20
+wrapped_run python python2
21
+wrapped_run python python3
22
+wrapped_run python scipy
23
+wrapped_run python xonsh
24
25
python3 -m tests
0 commit comments