File: .travis.yml

package info (click to toggle)
lksctp-tools 1.0.19%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,272 kB
  • sloc: ansic: 13,566; makefile: 270; sh: 26
file content (120 lines) | stat: -rw-r--r-- 3,340 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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
language: c
addons:
  apt:
    packages:
      - libelf-dev
script:
  - ./.travis/linux-build.sh
env:
  global:
    # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
    #   via the "travis encrypt" command using the project repo's public key
    - secure: "JuWc37fLUp36CB7kvmRvAE49cAuX3nxh8FmpcAHUFeefg2Z6ce+vBt5IdFW6dQgdoks35RbzkitUJwdcFiMggrN7jqs/ubIZkKeFzy4PP5oefU9L/w7z9bqSk+nolmA+sy/i6P6Yz7FHrGyXUhtZXnbsX/mQKclzsio7n22L+NDHVs4yUaLGmYPr1OvXcoHUPncuD7PHZcZzI3kKt6lUt2JAkacNUuUEIxQDxkL4gnoX5+OVG75twi0WD7r0vCGEGSMhHZ9y/7qi5Gx6xd5JVBkGVrXbZZtiZrtM1h0OD3Wn9B7ti5VOnWCQuuuxe49t5qKBjO6cC8Bz/2ktSIgf/WWdf4If2dRPyuJT36RqwmBbCJSqh4+qDRq0cP7Gb9zHwuz5kA3vpeBlx1l1oSF3CI7ZK7WtjetrvlrJ/SiLcuMRnnFgaUCNTyT5d4k1Dvxhlt/YJKxLVMualTUwcVZJEWDs07Sju3ljGkifEC3zQOoaOhVHKw/WDotIRW/HNGrzSblHV25hWKdvqIwcVTKGVbq7G/vJzxtpfjYj/t8gwlP31vWiv5/RdBbDk6DrV2/Wq+OSf8i/WHuTKTVjA9abV5LyGemEe0u/oJcRlUupN5UVLfCAozz/6GR6A99A88CoUijvxA5rvEEpQyYZnwjXCUP05iy6QBYD3VnLbg1pI3g="
  matrix:
    - KERNEL=""
compiler:
  - gcc
  - clang

matrix:
  include:
    - os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - libelf-dev
            - g++-4.9
      env:
        - MATRIX_EVAL="CC=gcc-4.9 && CXX=g++-4.9"

    - os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - libelf-dev
            - g++-5
      env:
        - MATRIX_EVAL="CC=gcc-5 && CXX=g++-5"

    - os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - libelf-dev
            - g++-6
      env:
        - MATRIX_EVAL="CC=gcc-6 && CXX=g++-6"

    - os: linux
      addons:
        apt:
          sources:
            - ubuntu-toolchain-r-test
          packages:
            - libelf-dev
            - g++-7
      env:
        - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"

    # works on Trusty
    - os: linux
      addons:
        apt:
          sources:
            - llvm-toolchain-trusty-3.9
          packages:
            - libelf-dev
            - clang-3.9
      env:
        - MATRIX_EVAL="CC=clang-3.9 && CXX=clang++-3.9"

    # works on Trusty
    - os: linux
      addons:
        apt:
          sources:
            - llvm-toolchain-trusty-4.0
          packages:
            - libelf-dev
            - clang-4.0
      env:
        - MATRIX_EVAL="CC=clang-4.0 && CXX=clang++-4.0"

    # works on Trusty
    # Not working on Xenial
#    - os: linux
#      addons:
#        apt:
#          sources:
#            - llvm-toolchain-trusty-5.0
#          packages:
#            - libelf-dev
#            - clang-5.0
#      env:
#        - MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0"

before_install:
  - echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca-certificates.crt
  - sudo apt-get install -y libelf-dev
  - $CC --version

notifications:
  email:
    on_success: change
    on_failure: change
    recipients: linux-sctp@vger.kernel.org

addons:
  coverity_scan:
    project:
      name: "sctp/lksctp-tools"
      description: "lksctp-tools"
    notification_email: linux-sctp@vger.kernel.org
    build_command: "./.travis/linux-covscan.sh"
    branch_pattern: master