diff options
author | Brent Cook <bcook@openbsd.org> | 2015-09-09 06:12:16 -0500 |
---|---|---|
committer | Brent Cook <bcook@openbsd.org> | 2015-09-09 06:12:16 -0500 |
commit | 5de4c4f0eb9bdcc1dbdadc4aafb4cc89083835a0 (patch) | |
tree | 3e7cff4ef7070893b7e38ec25e41bb2888992e7d /scripts | |
parent | 5dc630371487d483a53f1ed7193ba8e8c73492a2 (diff) | |
download | portable-5de4c4f0eb9bdcc1dbdadc4aafb4cc89083835a0.tar.gz portable-5de4c4f0eb9bdcc1dbdadc4aafb4cc89083835a0.tar.bz2 portable-5de4c4f0eb9bdcc1dbdadc4aafb4cc89083835a0.zip |
add travis-ci cmake tests
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/travis b/scripts/travis index 091f37d..82375cf 100755 --- a/scripts/travis +++ b/scripts/travis | |||
@@ -4,6 +4,7 @@ set -e | |||
4 | ./autogen.sh | 4 | ./autogen.sh |
5 | 5 | ||
6 | if [ "x$ARCH" = "xnative" ]; then | 6 | if [ "x$ARCH" = "xnative" ]; then |
7 | # test autotools | ||
7 | ./configure | 8 | ./configure |
8 | if [ `uname` = "Darwin" ]; then | 9 | if [ `uname` = "Darwin" ]; then |
9 | # OS X runs out of resources if we run 'make -j check' | 10 | # OS X runs out of resources if we run 'make -j check' |
@@ -11,6 +12,17 @@ if [ "x$ARCH" = "xnative" ]; then | |||
11 | else | 12 | else |
12 | make -j distcheck | 13 | make -j distcheck |
13 | fi | 14 | fi |
15 | |||
16 | # make distribution | ||
17 | make dist | ||
18 | tar zxvf libressl-*.tar.gz | ||
19 | cd libressl-* | ||
20 | |||
21 | # test cmake and ninja | ||
22 | mkdir build | ||
23 | cd build | ||
24 | cmake -GNinja .. | ||
25 | ninja | ||
14 | else | 26 | else |
15 | CPU=i686 | 27 | CPU=i686 |
16 | if [ "x$ARCH" = "xmingw64" ]; then | 28 | if [ "x$ARCH" = "xmingw64" ]; then |