Commit 82f7f80aa9ac3cd753bcb6d2b88cc930aee72bcc

Anthony Green 2019-11-12T08:58:52

Run rlgl outside of the build container.

diff --git a/.travis/build-in-container.sh b/.travis/build-in-container.sh
index af8e2b6..3f7bd42 100755
--- a/.travis/build-in-container.sh
+++ b/.travis/build-in-container.sh
@@ -9,8 +9,4 @@ make
 make dist
 make check RUNTESTFLAGS="-a $RUNTESTFLAGS"
 
-./rlgl l https://rl.gl
-ID=$(./rlgl start)
-./rlgl e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
-exit $?
 
diff --git a/.travis/build.sh b/.travis/build.sh
index 502dce7..3d50052 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -41,6 +41,10 @@ function build_linux()
 function build_foreign_linux()
 {
     ${DOCKER} run --rm -t -i -v `pwd`:/opt ${SET_QEMU_CPU} -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" $2 bash -c /opt/.travis/build-in-container.sh
+
+    ./rlgl l https://rl.gl
+    ID=$(./rlgl start)
+    ./rlgl e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
     exit $?
 }