Commit 14bfbec0fd312001f7922ee6100cbc3155ae585b

Anthony Green 2019-11-18T14:40:30

Pull before running

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 72fa11e..942f7af 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -70,7 +70,8 @@ function build_cross_linux()
 
 function build_cross()
 {
-    ${DOCKER} run --rm -t -i -v `pwd`:/opt -e HOST="${HOST}" -e CC="${HOST}-gcc ${GCC_OPTIONS}" -e CXX="${HOST}-g++ ${GCC_OPTIONS}" -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" docker.io/moxielogic/libffi-ci-${HOST} bash -c /opt/.travis/build-cross-in-container.sh
+    ${DOCKER} pull quay.io/moxielogic/libffi-ci-${HOST} 
+    ${DOCKER} run --rm -t -i -v `pwd`:/opt -e HOST="${HOST}" -e CC="${HOST}-gcc ${GCC_OPTIONS}" -e CXX="${HOST}-g++ ${GCC_OPTIONS}" -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" quay.io/moxielogic/libffi-ci-${HOST} bash -c /opt/.travis/build-cross-in-container.sh
 
     ./rlgl l https://rl.gl
     ID=$(./rlgl start)