diff options
author | Lucas De Marchi <lucas.demarchi@intel.com> | 2020-12-03 13:29:48 -0800 |
---|---|---|
committer | Lucas De Marchi <lucas.demarchi@intel.com> | 2020-12-03 19:34:04 -0800 |
commit | f9928f44ed4b171c1fe432f961c2595105de8ca2 (patch) | |
tree | 999aa171af17182ddaf5f345ea59734b043ca6ec | |
parent | c72433254ee0bda8db5d8d78a643c481a51f88a5 (diff) | |
download | kmod-f9928f44ed4b171c1fe432f961c2595105de8ca2.tar.gz kmod-f9928f44ed4b171c1fe432f961c2595105de8ca2.tar.bz2 kmod-f9928f44ed4b171c1fe432f961c2595105de8ca2.zip |
ci: update travis distro
Don't bother with gcc 4.8 vs 4.9, just use the latest one for the
distro. Update travis to ubuntu 20.04 so we can get current
dependencies.
-rw-r--r-- | .travis.yml | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml index 0fcce14..2adb3c6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,27 +1,21 @@ language: c +dist: focal matrix: include: - compiler: gcc - env: MYCC=gcc - - compiler: gcc - env: MYCC=gcc-4.8 - - compiler: gcc - env: MYCC=gcc-4.9 + env: CC=gcc - compiler: clang - env: MYCC=clang + env: CC=clang before_install: - - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y - sudo apt-get update -qq - - sudo apt-get install -qq libzstd-dev + - sudo apt-get install -qq libzstd-dev zstd - sudo apt-get install -qq liblzma-dev - sudo apt-get install -qq zlib1g-dev - sudo apt-get install -qq xsltproc docbook-xsl - sudo apt-get install -qq cython - 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 @@ -29,7 +23,7 @@ before_script: script: - ./autogen.sh c --without-openssl && make -j - - if [ "$MYCC" != "gcc-4.8" ]; then make -j check; fi + - make -j check notifications: irc: |