view .travis.yml @ 1506:b7cd40b0730a coverity

merge
author Matt Johnston <matt@ucc.asn.au>
date Sat, 10 Feb 2018 08:27:30 +0800
parents 10e2a7727253 515f37a55cd2
children d54bbb645f02
line wrap: on
line source

language: c

os:
  - linux

compiler:
  - gcc

# container-based builds
sudo: false
addons:
  apt:
    packages:
    # packages list: https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
    - zlib1g-dev

script:
  - autoconf && autoheader && ./configure CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix="$HOME/inst"
  - make -j3 
  # avoid concurrent install, osx/freebsd is racey (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208093)
  - make install 

env:
  global:
   # The next declration is the encrypted COVERITY_SCAN_TOKEN, created
   #   via the "travis encrypt" command using the project repo's public key
   - secure: "F4rKQrHK/u58vPo3F9+x0WYXAeMFJvvtH9BIGZqx9yw8bUnL+gk0Ge9wnHHTXRcgCTqoc7B35uMS5njpH+Su/esVjrLAq85f/AmQctlRpmApwGK9LyxkIvx3UJN0nqfeeDXA90/8FUZ+n/qnCydXmYCEgqSaBCNydDxW1oqYUIc="
   - BUNDLEDLIBTOM=--enable-bundled-libtom
   - MULTI=1

addons:
  coverity_scan:
    project:
      name: "mkj/dropbear"
      description: "Dropbear SSH"
    notification_email: [email protected]
    build_command_prepend: autoconf && autoheader && ./configure --enable-bundled-libtom CFLAGS='-O2 -Wall -Wno-pointer-sign' --prefix=$HOME/inst
    build_command: make MULTI=1
    branch_pattern: coverity