comparison .travis.yml @ 1291:4a4e5d823cf6

Avoid osx "install" race
author Matt Johnston <matt@ucc.asn.au>
date Tue, 12 Apr 2016 21:22:21 +0800
parents 71698088bdac
children 10e2a7727253 515f37a55cd2
comparison
equal deleted inserted replaced
1290:ee2ffa044c7e 1291:4a4e5d823cf6
39 - if [ "$TRAVIS_OS_NAME" = "osx" -a "$BUNDLEDLIBTOM" = "--disable-bundled-libtom" ]; then brew update > /dev/null && brew install libtomcrypt libtommath ; fi 39 - if [ "$TRAVIS_OS_NAME" = "osx" -a "$BUNDLEDLIBTOM" = "--disable-bundled-libtom" ]; then brew update > /dev/null && brew install libtomcrypt libtommath ; fi
40 40
41 script: 41 script:
42 - autoconf && autoheader && ./configure "$BUNDLEDLIBTOM" CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS" --prefix="$HOME/inst" 42 - autoconf && autoheader && ./configure "$BUNDLEDLIBTOM" CFLAGS="-O2 -Wall -Wno-pointer-sign $WEXTRAFLAGS" --prefix="$HOME/inst"
43 - if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi 43 - if [ "$NOWRITEV" = "1" ]; then sed -i -e s/HAVE_WRITEV/DONT_HAVE_WRITEV/ config.h ; fi
44 - make -j3 install 44 - make -j3
45 # avoid concurrent install, osx/freebsd is racey (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208093)
46 - make install
45 47
46 after_success: 48 after_success:
47 - ~/inst/bin/dropbearkey -t rsa -f testrsa 49 - ~/inst/bin/dropbearkey -t rsa -f testrsa
48 - ~/inst/bin/dropbearkey -t dss -f testdss 50 - ~/inst/bin/dropbearkey -t dss -f testdss
49 - ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256 51 - ~/inst/bin/dropbearkey -t ecdsa -f testec256 -s 256