From 42625a55de0b66a75cf4afcfd658bf726ad77db4 Mon Sep 17 00:00:00 2001 From: Alan Antonuk Date: Sat, 20 Oct 2012 02:11:00 -0400 Subject: Update build matrix to include autoconf build --- .travis.yml | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 7e2cb5f..8daba29 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,12 +2,16 @@ # see travis-ci.org for details # As CMake is not officially supported we use erlang VMs -language: erlang +language: c + +compiler: + - gcc + - clang # Settings to try env: - - OPTIONS="-DBUILD_SHARED_LIBS=ON" - - OPTIONS="-DBUILD_SHARED_LIBS=OFF" + - PRE_CONFIGURE=true CONFIGURE="cmake .. -DCMAKE_INSTALL_PREFIX=../_install" BUILD_INSTALL="cmake --build . --target install" + - PRE_CONFIGURE="autoreconf -i" CONFIGURE="../configure --prefix=`pwd`/_install" BUILD_INSTALL="make install" # Make sure CMake is installed install: @@ -16,10 +20,8 @@ install: # Run the Build script script: - mkdir _build - - cd _build - - cmake .. -DCMAKE_INSTALL_PREFIX=../_install -DBUILD_EXAMPLES=ON -DBUILD_TESTS=ON -DBUILD_TOOLS=ON -DBUILD_TOOLS_DOCS=ON $OPTIONS - - cmake --build . --target install + - $PRE_CONFIGURE && cd _build && $CONFIGURE && $BUILD_INSTALL # Run Tests after_script: - - ctest -V . + - if [ -f CTestTestfile.cmake ]; then ctest -V . ; fi -- cgit v1.2.1