From: Nir Soffer <nsoffer(a)redhat.com>
Travis latest Ubuntu images come with GCC 5.0.4, which fail to compile
with:
cc: error: unrecognized command line option ‘-fstack-clash-protection’
Using GCC 8 from ubuntu-toolchain-r-test fixes this issue.
Signed-off-by: Nir Soffer <nsoffer(a)redhat.com>
---
.travis.yml | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 675768d..8cc2859 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,13 +1,23 @@
dist: xenial
language: python
+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"
+
script:
- make -C wdmd
- make -C src
- make -C python inplace
- source tests/env.sh
- pytest
--
2.17.2
Show replies by date