From 5de4c4f0eb9bdcc1dbdadc4aafb4cc89083835a0 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Wed, 9 Sep 2015 06:12:16 -0500 Subject: add travis-ci cmake tests --- scripts/travis | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'scripts') diff --git a/scripts/travis b/scripts/travis index 091f37d..82375cf 100755 --- a/scripts/travis +++ b/scripts/travis @@ -4,6 +4,7 @@ set -e ./autogen.sh if [ "x$ARCH" = "xnative" ]; then + # test autotools ./configure if [ `uname` = "Darwin" ]; then # OS X runs out of resources if we run 'make -j check' @@ -11,6 +12,17 @@ if [ "x$ARCH" = "xnative" ]; then else make -j distcheck fi + + # make distribution + make dist + tar zxvf libressl-*.tar.gz + cd libressl-* + + # test cmake and ninja + mkdir build + cd build + cmake -GNinja .. + ninja else CPU=i686 if [ "x$ARCH" = "xmingw64" ]; then -- cgit v1.2.3-55-g6feb