]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Test cmake with Travis 23/head
authorDaniel Axtens <dja@axtens.net>
Fri, 8 May 2015 13:21:53 +0000 (23:21 +1000)
committerDaniel Axtens <dja@axtens.net>
Fri, 8 May 2015 13:29:05 +0000 (23:29 +1000)
Signed-off-by: Daniel Axtens <dja@axtens.net>
.travis.yml

index e414537d851f62e4f6a7b9da88a4ccd29cca899e..bf00ba8cb1061eeeb975fdcd9f77e55b8d48b4a4 100644 (file)
@@ -3,7 +3,9 @@ compiler:
   - gcc
   - clang
 env:
-  - BUILDDIR=. SRCDIR=.
-  - BUILDDIR=../build SRCDIR=../zlib-ng
+  - BUILDDIR=. TOOL="./configure"
+  - BUILDDIR=../build TOOL="../zlib-ng/configure"
+  - BUILDDIR=. TOOL="cmake ."
+  - BUILDDIR=../build TOOL="cmake ../zlib-ng"
 script: mkdir -p $BUILDDIR && cd $BUILDDIR &&
-        $SRCDIR/configure && make && make check
+        $TOOL && make && make test