File: .travis.yml

package info (click to toggle)
kmod 26-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 3,784 kB
  • sloc: ansic: 15,682; xml: 1,879; makefile: 617; sh: 303; python: 7
file content (31 lines) | stat: -rw-r--r-- 1,209 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
language: c
before_install:
  - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  - sudo apt-get update -qq
  - 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
  - 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
notifications:
  irc:
    channels:
      - "irc.freenode.org#kmod"
    template:
      - "%{commit}: %{author} - %{message}"