Mercurial > dropbear
annotate .travis.yml @ 916:803c1f0b019b
Fix "make install" dependency so that it works without prior "make"
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 07 Mar 2014 21:30:20 +0800 |
parents | ca46fb43679d |
children | d572054cfe15 |
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 | 6 - mkdir ~/inst |
7 - autoconf && autoheader && ./configure --$BUNDLEDLIBTOM-bundled-libtom CFLAGS="-O2 -Wall -Wno-pointer-sign" --prefix=$HOME/inst && make install | |
8 - ~/inst/bin/dropbearkey -t rsa -f testrsa | |
9 - ~/inst/bin/dropbearkey -t dss -f testdss | |
10 - ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256 | |
11 - ~/inst/bin/dropbearkey -t ecdsa -f testec384 -s 384 | |
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: |
e630c7aecff7
Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff
changeset
|
19 - BUNDLEDLIBTOM=enable |
e630c7aecff7
Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff
changeset
|
20 - BUNDLEDLIBTOM=disable |
915 | 21 - MULTI=1 |
22 - MULTI=0 | |
912
e630c7aecff7
Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff
changeset
|
23 |
e630c7aecff7
Add Travis CI autobuilder config
Matt Johnston <matt@ucc.asn.au>
parents:
diff
changeset
|
24 |