diff options
author | Paul Moore <paul@paul-moore.com> | 2020-03-23 14:31:00 -0400 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2020-03-23 14:32:02 -0400 |
commit | 8e9bf004c40e20bb8112f6e61bb7881112b010ef (patch) | |
tree | 7fa4e2aad647987d0c1b2f40ae608ae192f0c7b0 | |
parent | 4bd8de391d5920bdbdb639b1d81ddd7bfe4d7549 (diff) | |
download | libseccomp-8e9bf004c40e20bb8112f6e61bb7881112b010ef.tar.gz |
travis: fix a typo with TRAVIS_CPU_ARCH
Travis CI uses "amd64" instead of "x86_64", fix the configuration.
* https://docs.travis-ci.com/user/environment-variables
Signed-off-by: Paul Moore <paul@paul-moore.com>
-rw-r--r-- | .travis.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index a509652..cdf681f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -67,7 +67,7 @@ script: - LIBSECCOMP_TSTCFG_STRESSCNT=5 make check - LIBSECCOMP_TSTCFG_TYPE=live LIBSECCOMP_TSTCFG_MODE_LIST=c make -C tests check - | - if [ $TRAVIS_CPU_ARCH == "x86_64" -o -x scan-build ]; then + if [ $TRAVIS_CPU_ARCH == "amd64" -o -x scan-build ]; then make clean && ./configure && scan-build --status-bugs make fi @@ -75,6 +75,6 @@ after_success: # limit the code coverage tests to the 'test-code-coverage' target # https://github.com/eddyxu/cpp-coveralls/blob/master/README.md - | - if [ $TRAVIS_CPU_ARCH == "x86_64" ]; then + if [ $TRAVIS_CPU_ARCH == "amd64" ]; 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 |