This is an automated email from the git hooks/post-receive script.
teigland pushed a commit to branch master
in repository sanlock.
The following commit(s) were added to refs/heads/master by this push:
new a904a3d travis: Update to GCC 8
a904a3d is described below
commit a904a3de2997bc7ce55b6cb3647d5ec347f0a2fa
Author: Nir Soffer <nsoffer(a)redhat.com>
AuthorDate: Tue Dec 25 02:50:38 2018 +0200
travis: Update to GCC 8
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,10 +1,20 @@
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
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date