Mercurial > dropbear
annotate .travis.yml @ 1256:506f7681d0f8 coverity
merge up to date
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 15 Mar 2016 22:45:43 +0800 |
parents | 624fc24cfae5 cb0806413220 |
children | 7d02b83c61fd |
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 |
1240
87a43bf49e37
TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents:
1142
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 |
1243
2e3d083483de
TravisCI: enable osx builds
Chocobo1 <Chocobo1@users.noreply.github.com>
parents:
1242
diff
changeset
|
16 |
1240
87a43bf49e37
TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents:
1142
diff
changeset
|
17 script: |
1256 | 18 - autoconf && autoheader && ./configure CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix="$HOME/inst" |
1241
32270319e09c
TravisCI: enable parallel build
Chocobo1 <Chocobo1@users.noreply.github.com>
parents:
1240
diff
changeset
|
19 - make -j3 install |
1240
87a43bf49e37
TravisCI: modify to run builds in container
Chocobo1 <Chocobo1@users.noreply.github.com>
parents:
1142
diff
changeset
|
20 |
918 | 21 env: |
22 global: | |
23 # The next declration is the encrypted COVERITY_SCAN_TOKEN, created | |
24 # via the "travis encrypt" command using the project repo's public key | |
25 - 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
|
26 - BUNDLEDLIBTOM=--enable-bundled-libtom |
5a0eabe6544b
fiddle with coverity travis
Matt Johnston <matt@ucc.asn.au>
parents:
1129
diff
changeset
|
27 - MULTI=1 |
918 | 28 |
29 addons: | |
30 coverity_scan: | |
31 project: | |
32 name: "mkj/dropbear" | |
33 description: "Dropbear SSH" | |
34 notification_email: [email protected] | |
921 | 35 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
|
36 build_command: make MULTI=1 |
919 | 37 branch_pattern: coverity |