2014-03-07 12:44:32 +00:00
|
|
|
language: c
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
|
2014-03-07 13:03:43 +00:00
|
|
|
script:
|
2014-03-07 13:14:12 +00:00
|
|
|
- mkdir ~/inst
|
2014-03-07 13:46:51 +00:00
|
|
|
- autoconf && autoheader && ./configure $BUNDLEDLIBTOM CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix=$HOME/inst && make install
|
2014-03-07 13:14:12 +00:00
|
|
|
- ~/inst/bin/dropbearkey -t rsa -f testrsa
|
|
|
|
- ~/inst/bin/dropbearkey -t dss -f testdss
|
|
|
|
- ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256
|
|
|
|
- ~/inst/bin/dropbearkey -t ecdsa -f testec384 -s 384
|
|
|
|
- ~/inst/bin/dropbearkey -t ecdsa -f testec521 -s 521
|
2014-03-07 12:44:32 +00:00
|
|
|
|
|
|
|
before_install:
|
|
|
|
- sudo apt-get update -qq
|
2014-03-07 13:03:43 +00:00
|
|
|
- sudo apt-get install -qq libz-dev libtomcrypt-dev libtommath-dev
|
2014-03-07 12:44:32 +00:00
|
|
|
|
|
|
|
env:
|
2014-03-08 06:56:27 +00:00
|
|
|
- BUNDLEDLIBTOM=--enable-bundled-libtom MULTI=1
|
|
|
|
|
|
|
|
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="
|
|
|
|
|
|
|
|
addons:
|
|
|
|
coverity_scan:
|
|
|
|
project:
|
|
|
|
name: "mkj/dropbear"
|
|
|
|
description: "Dropbear SSH"
|
|
|
|
notification_email: matt@ucc.asn.au
|
|
|
|
build_command_prepend:
|
|
|
|
build_command:
|
|
|
|
branch_pattern: coverity_scan
|