aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-09-11 08:03:56 -0500
committerBrent Cook <bcook@openbsd.org>2015-09-11 16:52:03 -0500
commitf927fc2a90aab255908c9fee04f2c031fec97424 (patch)
tree7d69c75cd14aa0b17da5996a3651fae5e7fbe577
parent5c164446dd20343c02a265027985a9461de2721a (diff)
downloadportable-f927fc2a90aab255908c9fee04f2c031fec97424.tar.gz
portable-f927fc2a90aab255908c9fee04f2c031fec97424.tar.bz2
portable-f927fc2a90aab255908c9fee04f2c031fec97424.zip
add cmake test support
-rwxr-xr-xscripts/travis23
1 files changed, 20 insertions, 3 deletions
diff --git a/scripts/travis b/scripts/travis
index 091f37d..8fa3035 100755
--- a/scripts/travis
+++ b/scripts/travis
@@ -4,12 +4,29 @@ set -e
4./autogen.sh 4./autogen.sh
5 5
6if [ "x$ARCH" = "xnative" ]; then 6if [ "x$ARCH" = "xnative" ]; then
7 # test autotools
7 ./configure 8 ./configure
9 make check
10
11 # make distribution
12 make dist
13 tar zxvf libressl-*.tar.gz
14 cd libressl-*
15 mkdir build
16 cd build
17
18 # test cmake and ninja
8 if [ `uname` = "Darwin" ]; then 19 if [ `uname` = "Darwin" ]; then
9 # OS X runs out of resources if we run 'make -j check' 20 cmake ..
10 make check 21 make
11 else 22 else
12 make -j distcheck 23 sudo apt-get update
24 sudo apt-get install -y python-software-properties
25 sudo apt-add-repository -y ppa:kalakris/cmake
26 sudo apt-get update
27 sudo apt-get install -y cmake ninja-build
28 cmake -GNinja ..
29 ninja
13 fi 30 fi
14else 31else
15 CPU=i686 32 CPU=i686