aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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