annotate .travis.yml @ 1089:d144a6bece53

Uses k_size as an signed integer buf_incrwritepos() and mp_to_unsigned_bin() functions use k_size as signed integer argument. k_size is also used in an assertion that compared it to curve_size which is a signed long. Only buf_getwriteptr() is using k_size as unsigned. So it safe to use it as signed.
author Gaël PORTAY <gael.portay@gmail.com>
date Sat, 02 May 2015 11:37:37 +0200
parents 3cb73e8d6122
children 45830474d83c 20b9baf6d451
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:
1080
a988f7db337c add no-writev build
Matt Johnston <matt@ucc.asn.au>
parents: 923
diff changeset
6 - autoconf && autoheader && ./configure $BUNDLEDLIBTOM CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix=$HOME/inst
1082
3cb73e8d6122 fix travis more
Matt Johnston <matt@ucc.asn.au>
parents: 1081
diff changeset
7 - test "$NOWRITEV" && sed -i s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h || true
1080
a988f7db337c add no-writev build
Matt Johnston <matt@ucc.asn.au>
parents: 923
diff changeset
8 - make install
915
ca46fb43679d Add some tests for multi
Matt Johnston <matt@ucc.asn.au>
parents: 914
diff changeset
9 - ~/inst/bin/dropbearkey -t rsa -f testrsa
ca46fb43679d Add some tests for multi
Matt Johnston <matt@ucc.asn.au>
parents: 914
diff changeset
10 - ~/inst/bin/dropbearkey -t dss -f testdss
ca46fb43679d Add some tests for multi
Matt Johnston <matt@ucc.asn.au>
parents: 914
diff changeset
11 - ~/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
12 - ~/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
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
e630c7aecff7 Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff changeset
19 env:
917
d572054cfe15 Fix env vars for travis again
Matt Johnston <matt@ucc.asn.au>
parents: 915
diff changeset
20 - BUNDLEDLIBTOM=--disable-bundled-libtom
d572054cfe15 Fix env vars for travis again
Matt Johnston <matt@ucc.asn.au>
parents: 915
diff changeset
21 - BUNDLEDLIBTOM=--enable-bundled-libtom
915
ca46fb43679d Add some tests for multi
Matt Johnston <matt@ucc.asn.au>
parents: 914
diff changeset
22 - MULTI=1
1080
a988f7db337c add no-writev build
Matt Johnston <matt@ucc.asn.au>
parents: 923
diff changeset
23 - NOWRITEV=1