summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2020-01-05 21:18:23 -0500
committerAnthony Green <green@moxielogic.com>2020-01-05 21:18:23 -0500
commit1e08a45535d929915e14e48af38e45f8c8e4f8de (patch)
treec06de5f94686bf7b29dfb2b8f1f4e19d7e8ad3a7
parente50b9ef8b910fa642ef158f6642e60d54d7ad740 (diff)
downloadlibffi-1e08a45535d929915e14e48af38e45f8c8e4f8de.tar.gz
Use rlgl API key on login
-rwxr-xr-x.travis/build.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis/build.sh b/.travis/build.sh
index fc572fd..c9d0668 100755
--- a/.travis/build.sh
+++ b/.travis/build.sh
@@ -19,7 +19,7 @@ function build_cfarm()
echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
curl -u ${CFARM_AUTH} "$(tail build.log | grep '^==LOGFILE==' | cut -b13-)" > libffi.log
- ./rlgl l https://rl.gl
+ ./rlgl l --key=$RLGL_KEY https://rl.gl
ID=$(./rlgl start)
./rlgl e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git libffi.log
exit $?
@@ -33,7 +33,7 @@ function build_linux()
make dist
make check RUNTESTFLAGS="-a $RUNTESTFLAGS"
- ./rlgl l https://rl.gl
+ ./rlgl l --key=$RLGL_KEY https://rl.gl
ID=$(./rlgl start)
./rlgl e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
exit $?
@@ -43,7 +43,7 @@ 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
+ ./rlgl l --key=$RLGL_KEY https://rl.gl
ID=$(./rlgl start)
./rlgl e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
exit $?
@@ -53,7 +53,7 @@ function build_cross_linux()
{
${DOCKER} run --rm -t -i -v $(pwd):/opt ${SET_QEMU_CPU} -e HOST="${HOST}" -e CC="${HOST}-gcc-8 ${GCC_OPTIONS}" -e CXX="${HOST}-g++-8 ${GCC_OPTIONS}" -e LIBFFI_TEST_OPTIMIZATION="${LIBFFI_TEST_OPTIMIZATION}" moxielogic/cross-ci-build-container:latest bash -c /opt/.travis/build-in-container.sh
- ./rlgl l https://rl.gl
+ ./rlgl l --key=$RLGL_KEY https://rl.gl
ID=$(./rlgl start)
./rlgl e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
exit $?
@@ -64,7 +64,7 @@ function build_cross()
${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 TRAVIS_BUILD_DIR=/opt -e DEJAGNU="${DEJAGNU}" -e RUNTESTFLAGS="${RUNTESTFLAGS}" -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
+ ./rlgl l --key=$RLGL_KEY https://rl.gl
ID=$(./rlgl start)
./rlgl e --id=$ID --policy=https://github.com/libffi/rlgl-policy.git */testsuite/libffi.log
exit $?