Commit 7e318cf50d8c481957b3be76e508054c70cbdf9b

Anthony Green 2019-11-12T17:55:35

Pull test logs from cfarm

1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff --git a/.travis/build.sh b/.travis/build.sh
index 3d62728..59fd536 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -21,7 +21,8 @@ fi
 
 function build_cfarm()
 {
-    curl -u ${CFARM_AUTH} https://cfarm-test-libffi-libffi.apps.home.labdroid.net/test?host=${HOST}\&commit=${TRAVIS_COMMIT} | tee libffi.log
+    curl -u ${CFARM_AUTH} https://cfarm-test-libffi-libffi.apps.home.labdroid.net/test?host=${HOST}\&commit=${TRAVIS_COMMIT} | tee build.log
+    curl -u ${CFARM_AUTH} "$(grep '== LOGFILE ==' build.log | cut -b15-)" > libffi.log
 
     ./rlgl l https://rl.gl
     ID=$(./rlgl start)