annotate .travis.yml @ 918:f612bb85dcaa coverity

Add coverity bits
author Matt Johnston <matt@ucc.asn.au>
date Sat, 08 Mar 2014 14:56:27 +0800
parents d572054cfe15
children fad4407e1552
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
e630c7aecff7 Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
2 compiler:
e630c7aecff7 Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
3 - gcc
e630c7aecff7 Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
4
914
54e1214e3af7 Install system libtom libs, run dropbearkey when it's done
Matt Johnston <matt@ucc.asn.au>
parents: 913
diff changeset
5 script:
915
ca46fb43679d Add some tests for multi
Matt Johnston <matt@ucc.asn.au>
parents: 914
diff changeset
6 - mkdir ~/inst
917
d572054cfe15 Fix env vars for travis again
Matt Johnston <matt@ucc.asn.au>
parents: 915
diff changeset
7 - autoconf && autoheader && ./configure $BUNDLEDLIBTOM CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix=$HOME/inst && make install
915
ca46fb43679d Add some tests for multi
Matt Johnston <matt@ucc.asn.au>
parents: 914
diff changeset
8 - ~/inst/bin/dropbearkey -t rsa -f testrsa
ca46fb43679d Add some tests for multi
Matt Johnston <matt@ucc.asn.au>
parents: 914
diff changeset
9 - ~/inst/bin/dropbearkey -t dss -f testdss
ca46fb43679d Add some tests for multi
Matt Johnston <matt@ucc.asn.au>
parents: 914
diff changeset
10 - ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256
ca46fb43679d Add some tests for multi
Matt Johnston <matt@ucc.asn.au>
parents: 914
diff changeset
11 - ~/inst/bin/dropbearkey -t ecdsa -f testec384 -s 384
ca46fb43679d Add some tests for multi
Matt Johnston <matt@ucc.asn.au>
parents: 914
diff changeset
12 - ~/inst/bin/dropbearkey -t ecdsa -f testec521 -s 521
912
e630c7aecff7 Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
13
e630c7aecff7 Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
14 before_install:
e630c7aecff7 Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
15 - sudo apt-get update -qq
914
54e1214e3af7 Install system libtom libs, run dropbearkey when it's done
Matt Johnston <matt@ucc.asn.au>
parents: 913
diff changeset
16 - sudo apt-get install -qq libz-dev libtomcrypt-dev libtommath-dev
912
e630c7aecff7 Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
17
e630c7aecff7 Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
18 env:
918
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
19 - BUNDLEDLIBTOM=--enable-bundled-libtom MULTI=1
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
20
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
21 env:
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
22 global:
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
23 # The next declration is the encrypted COVERITY_SCAN_TOKEN, created
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
24 # 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
25 - secure: "F4rKQrHK/u58vPo3F9+x0WYXAeMFJvvtH9BIGZqx9yw8bUnL+gk0Ge9wnHHTXRcgCTqoc7B35uMS5njpH+Su/esVjrLAq85f/AmQctlRpmApwGK9LyxkIvx3UJN0nqfeeDXA90/8FUZ+n/qnCydXmYCEgqSaBCNydDxW1oqYUIc="
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
26
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
27 addons:
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
28 coverity_scan:
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
29 project:
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
30 name: "mkj/dropbear"
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
31 description: "Dropbear SSH"
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
32 notification_email: [email protected]
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
33 build_command_prepend:
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
34 build_command:
f612bb85dcaa Add coverity bits
Matt Johnston <matt@ucc.asn.au>
parents: 917
diff changeset
35 branch_pattern: coverity_scan