[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 4/4] .travis.yml: Allow untrusted code and large files
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH 4/4] .travis.yml: Allow untrusted code and large files |
Date: |
Sat, 18 Jan 2020 20:16:23 +0100 |
As Travis CI runs our tests in a disposable environment, we don't
care much if the binaries are trusted. The more we test the better.
Also, as of this commmit, the smallest available announced [1] is
"approx 18GB", plenty of space to run our acceptance tests.
Enable the proper environment variables to allow Avocado download
from untrusted sources, and to download large files.
Note: As of this commit, all our tests "Ran for 17 min 7 sec"
before succeeding, see [2].
[1]
https://docs.travis-ci.com/user/reference/overview/#virtualisation-environment-vs-operating-system
[2] https://travis-ci.org/philmd/qemu/jobs/638823612#L3817
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
---
.travis.yml | 2 ++
1 file changed, 2 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 638fba4799..b8b9df65a6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -260,6 +260,8 @@ matrix:
# Acceptance (Functional) tests
- env:
+ - AVOCADO_ALLOW_LARGE_STORAGE="yes"
+ - AVOCADO_ALLOW_UNTRUSTED_CODE="sure"
- CONFIG="--python=/usr/bin/python3
--target-list=x86_64-softmmu,mips-softmmu,mips64el-softmmu,aarch64-softmmu,arm-softmmu,s390x-softmmu,alpha-softmmu,ppc-softmmu,ppc64-softmmu,m68k-softmmu,sparc-softmmu"
- TEST_CMD="make check-acceptance"
after_failure:
--
2.21.1