annotate .travis.yml @ 1610:96e4c9b2cc00 coverity

merge coverity
author Matt Johnston <matt@ucc.asn.au>
date Wed, 21 Mar 2018 00:52:02 +0800
parents 7f2be495dff6 d17a6bab2179
children d529a52b2f7c
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
912
e630c7aecff7 Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
1 language: c
1240
87a43bf49e37 TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1142
diff changeset
2
1243
2e3d083483de TravisCI: enable osx builds
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1242
diff changeset
3 os:
2e3d083483de TravisCI: enable osx builds
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1242
diff changeset
4 - linux
2e3d083483de TravisCI: enable osx builds
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1242
diff changeset
5
1242
53111b3413dc TravisCI: enable build with clang
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1241
diff changeset
6 compiler:
53111b3413dc TravisCI: enable build with clang
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1241
diff changeset
7 - gcc
53111b3413dc TravisCI: enable build with clang
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1241
diff changeset
8
1240
87a43bf49e37 TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1142
diff changeset
9 # container-based builds
87a43bf49e37 TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1142
diff changeset
10 sudo: false
87a43bf49e37 TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1142
diff changeset
11 addons:
87a43bf49e37 TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1142
diff changeset
12 apt:
87a43bf49e37 TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1142
diff changeset
13 packages:
87a43bf49e37 TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1142
diff changeset
14 # packages list: https://github.com/travis-ci/apt-package-whitelist/blob/master/ubuntu-precise
87a43bf49e37 TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1142
diff changeset
15 - zlib1g-dev
87a43bf49e37 TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1142
diff changeset
16 - libtomcrypt-dev
87a43bf49e37 TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1142
diff changeset
17 - libtommath-dev
1245
cb0806413220 TravisCI: fix linux + clang compile
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1244
diff changeset
18
1566
3fc0e9a0978b add fuzzers to travis
Matt Johnston <matt@ucc.asn.au>
parents: 1486
diff changeset
19 install:
1578
fdadac70ee67 add -fsanitize=address for fuzz test again
Matt Johnston <matt@ucc.asn.au>
parents: 1572
diff changeset
20 - autoconf
fdadac70ee67 add -fsanitize=address for fuzz test again
Matt Johnston <matt@ucc.asn.au>
parents: 1572
diff changeset
21 - autoheader
1579
8c1f762c6e9d print config.log on failure
Matt Johnston <matt@ucc.asn.au>
parents: 1578
diff changeset
22 - ./configure $CONFIGURE_FLAGS CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS $EXTRACFLAGS" --prefix="$HOME/inst" || (cat config.log; exit 1)
1262
71698088bdac TravisCI: re-enable MULTI=1 & NOWRITEV=1 builds on OSX, fixes d416a9b
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1245
diff changeset
23 - if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi
1291
4a4e5d823cf6 Avoid osx "install" race
Matt Johnston <matt@ucc.asn.au>
parents: 1262
diff changeset
24 - make -j3
4a4e5d823cf6 Avoid osx "install" race
Matt Johnston <matt@ucc.asn.au>
parents: 1262
diff changeset
25 # avoid concurrent install, osx/freebsd is racey (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208093)
4a4e5d823cf6 Avoid osx "install" race
Matt Johnston <matt@ucc.asn.au>
parents: 1262
diff changeset
26 - make install
1240
87a43bf49e37 TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents: 1142
diff changeset
27
918
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
28 env:
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
29 global:
1580
7f2be495dff6 merge coverity
Matt Johnston <matt@ucc.asn.au>
parents: 1510 1578
diff changeset
30 # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
918
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
31 # via the "travis encrypt" command using the project repo's public key
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
32 - secure: "F4rKQrHK/u58vPo3F9+x0WYXAeMFJvvtH9BIGZqx9yw8bUnL+gk0Ge9wnHHTXRcgCTqoc7B35uMS5njpH+Su/esVjrLAq85f/AmQctlRpmApwGK9LyxkIvx3UJN0nqfeeDXA90/8FUZ+n/qnCydXmYCEgqSaBCNydDxW1oqYUIc="
1130
5a0eabe6544b fiddle with coverity travis
Matt Johnston <matt@ucc.asn.au>
parents: 1129
diff changeset
33 - BUNDLEDLIBTOM=--enable-bundled-libtom
5a0eabe6544b fiddle with coverity travis
Matt Johnston <matt@ucc.asn.au>
parents: 1129
diff changeset
34 - MULTI=1
918
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
35
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
36 addons:
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
37 coverity_scan:
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
38 project:
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
39 name: "mkj/dropbear"
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
40 description: "Dropbear SSH"
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
41 notification_email: [email protected]
921
f2dd12444e37 Fix the right build line
Matt Johnston <matt@ucc.asn.au>
parents: 920
diff changeset
42 build_command_prepend: autoconf && autoheader && ./configure --enable-bundled-libtom CFLAGS='-O2 -Wall -Wno-pointer-sign' --prefix=$HOME/inst
922
3a32abe076fc Don't 'make install' for coverity
Matt Johnston <matt@ucc.asn.au>
parents: 921
diff changeset
43 build_command: make MULTI=1
919
fad4407e1552 More for coverity
Matt Johnston <matt@ucc.asn.au>
parents: 918
diff changeset
44 branch_pattern: coverity
1486
cf43bbb6b8ff limit travis branches
Matt Johnston <matt@ucc.asn.au>
parents: 1485
diff changeset
45
cf43bbb6b8ff limit travis branches
Matt Johnston <matt@ucc.asn.au>
parents: 1485
diff changeset
46 branches:
cf43bbb6b8ff limit travis branches
Matt Johnston <matt@ucc.asn.au>
parents: 1485
diff changeset
47 only:
cf43bbb6b8ff limit travis branches
Matt Johnston <matt@ucc.asn.au>
parents: 1485
diff changeset
48 - master
cf43bbb6b8ff limit travis branches
Matt Johnston <matt@ucc.asn.au>
parents: 1485
diff changeset
49 - coverity