diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2019-11-07 08:34:15 -0800 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2019-11-07 09:46:51 -0800 |
commit | 688168c63f7472580ea75845e113e8307be99a49 (patch) | |
tree | 1952608c697b4936f1914bbf2a36092794204938 | |
parent | 6436260f7390949d24b60c37473d9a1790edad48 (diff) | |
download | kmod-688168c63f7472580ea75845e113e8307be99a49.tar.gz kmod-688168c63f7472580ea75845e113e8307be99a49.tar.bz2 kmod-688168c63f7472580ea75845e113e8307be99a49.zip |
travis: remove old compiler failing to build kernel module
This is when building the kernel modules for testsuite:
Makefile:718: Cannot use CONFIG_CC_STACKPROTECTOR_STRONG: -fstack-protector-strong not supported by compiler
gcc: error: unrecognized command line option ‘-fstack-protector-strong’
Just drop gcc 4.8 from running tests. Failure not really related to kmod.
-rw-r--r-- | .travis.yml | 29 |
1 files changed, 18 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml index 4b36e1f..02c753e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,16 @@ language: c + +matrix: + include: + - compiler: gcc + env: MYCC=gcc + - compiler: gcc + env: MYCC=gcc-4.8 + - compiler: gcc + env: MYCC=gcc-4.9 + - compiler: clang + env: MYCC=clang + before_install: - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt-get update -qq @@ -9,20 +21,15 @@ before_install: - sudo apt-get install -qq linux-headers-generic - if [ "$MYCC" = "gcc-4.8" ]; then sudo apt-get install -qq gcc-4.8; sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90; gcc --version; fi - if [ "$MYCC" = "gcc-4.9" ]; then sudo apt-get install -qq gcc-4.9; sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 90; gcc --version; fi + before_script: - unset PYTHON_CFLAGS # hack to broken travis setup - export KDIR="$(find /lib/modules/* -maxdepth 1 -name build | sort -n --reverse | head -1)" -matrix: - include: - - compiler: gcc - env: MYCC=gcc - - compiler: gcc - env: MYCC=gcc-4.8 - - compiler: gcc - env: MYCC=gcc-4.9 - - compiler: clang - env: MYCC=clang -script: ./autogen.sh c --without-openssl && make -j && make -j check + +script: + - ./autogen.sh c --without-openssl && make -j + - if [ "$MYCC" != "gcc-4.8" ]; then make -j check; fi + notifications: irc: channels: |