Now that we have runtime check for -fstack-clash-protection we don't need GCC 8 and we can save the time to download and install it on every build, and simplify the build configuration.
While removing gcc-8, switch the dependencies to declarative style using the apt addon.
Signed-off-by: Nir Soffer nsoffer@redhat.com --- .travis.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/.travis.yml b/.travis.yml index 37643f4..7c1749c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,21 +2,15 @@ dist: xenial language: python python: 2.7
addons: apt: - sources: - - ubuntu-toolchain-r-test packages: - - gcc-8 - -before_install: - - sudo apt-get -qq update - - sudo apt-get install -y make gcc libaio-dev libblkid-dev - -env: - - CC="gcc-8" + - gcc + - libaio-dev + - libblkid-dev + - make
script: - make BUILDARGS="--build-lib=." - source tests/env.sh - pytest
sanlock-devel@lists.fedorahosted.org