Mercurial > dropbear
annotate .travis.yml @ 1131:48cbe69dd5e9 coverity
fix travis coverity matrix?
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 13 Jun 2015 23:36:03 +0800 |
parents | 5a0eabe6544b |
children | 54e6954a8ef0 |
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: |
1080 | 6 - autoconf && autoheader && ./configure $BUNDLEDLIBTOM CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix=$HOME/inst |
1082 | 7 - test "$NOWRITEV" && sed -i s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h || true |
1080 | 8 - make install |
915 | 9 - ~/inst/bin/dropbearkey -t rsa -f testrsa |
10 - ~/inst/bin/dropbearkey -t dss -f testdss | |
11 - ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256 | |
12 - ~/inst/bin/dropbearkey -t ecdsa -f testec384 -s 384 | |
13 - ~/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
|
14 |
e630c7aecff7
Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff
changeset
|
15 before_install: |
e630c7aecff7
Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff
changeset
|
16 - 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
|
17 - 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
|
18 |
918 | 19 env: |
20 global: | |
21 # The next declration is the encrypted COVERITY_SCAN_TOKEN, created | |
22 # via the "travis encrypt" command using the project repo's public key | |
23 - secure: "F4rKQrHK/u58vPo3F9+x0WYXAeMFJvvtH9BIGZqx9yw8bUnL+gk0Ge9wnHHTXRcgCTqoc7B35uMS5njpH+Su/esVjrLAq85f/AmQctlRpmApwGK9LyxkIvx3UJN0nqfeeDXA90/8FUZ+n/qnCydXmYCEgqSaBCNydDxW1oqYUIc=" | |
1131
48cbe69dd5e9
fix travis coverity matrix?
Matt Johnston <matt@ucc.asn.au>
parents:
1130
diff
changeset
|
24 matrix: |
1130
5a0eabe6544b
fiddle with coverity travis
Matt Johnston <matt@ucc.asn.au>
parents:
1129
diff
changeset
|
25 - BUNDLEDLIBTOM=--disable-bundled-libtom |
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 |
5a0eabe6544b
fiddle with coverity travis
Matt Johnston <matt@ucc.asn.au>
parents:
1129
diff
changeset
|
28 - NOWRITEV=1 |
918 | 29 |
30 addons: | |
31 coverity_scan: | |
32 project: | |
33 name: "mkj/dropbear" | |
34 description: "Dropbear SSH" | |
35 notification_email: [email protected] | |
921 | 36 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
|
37 build_command: make MULTI=1 |
919 | 38 branch_pattern: coverity |