diff options
author | Paul Moore <paul@paul-moore.com> | 2020-03-11 11:22:50 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-03-11 17:14:01 -0400 |
commit | 9cb642afdf6baa7f6aa7bf8bcec9f642953c380b (patch) | |
tree | 35984f15ee13b74531817847356eec806c981a65 | |
parent | 4323e25bca547260747cac82b7b864763a1bc95a (diff) | |
download | libseccomp-9cb642afdf6baa7f6aa7bf8bcec9f642953c380b.tar.gz |
travis: enable aarch64 builds
While we enable these additional architectures, we limit the code
coverage test to x86_64 and the clang/scan-build check to platforms
which support it.
It is worth noting that the ppc64le and s390x builds were not enabled
at this time due to Travis CI test failures that need to be
investigated.
Acked-by: Tom Hromatka <tom.hromatka@oracle.com>
Signed-off-by: Paul Moore <paul@paul-moore.com>
-rw-r--r-- | .travis.yml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml index 63aa56b..7f54f00 100644 --- a/.travis.yml +++ b/.travis.yml @@ -11,6 +11,13 @@ notifications: on_success: always on_failure: always +arch: + - amd64 + - arm64 + +os: + - linux + language: c compiler: - gcc @@ -58,12 +65,15 @@ script: - make check-build - LIBSECCOMP_TSTCFG_STRESSCNT=5 make check - LIBSECCOMP_TSTCFG_TYPE=live LIBSECCOMP_TSTCFG_MODE_LIST=c make -C tests check - # ubuntu 14.04 (trusty) clang has problems with the cython generated code - - make clean && ./configure && scan-build --status-bugs make + - | + if [ $TRAVIS_CPU_ARCH == "x86_64" -o -x scan-build ]; then + make clean && ./configure && scan-build --status-bugs make + fi after_success: # limit the code coverage tests to the 'test-code-coverage' target - - make clean && ./configure --enable-code-coverage && make test-code-coverage # https://github.com/eddyxu/cpp-coveralls/blob/master/README.md - - coveralls --gcov-options '\-lp' - --exclude tests --exclude tools --exclude src/arch-syscall-check.c + - | + if [ $TRAVIS_CPU_ARCH == "x86_64" ]; then + make clean && ./configure --enable-code-coverage && make test-code-coverage && coveralls --gcov-options '\-lp' --exclude tests --exclude tools --exclude src/arch-syscall-check.c + fi |