diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2012-10-20 02:11:00 -0400 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2012-10-20 02:18:09 -0400 |
commit | 42625a55de0b66a75cf4afcfd658bf726ad77db4 (patch) | |
tree | dc85bee2724ab21e4808c5a4a34fe28441ea2a4c /.travis.yml | |
parent | 7142f05e2aaf61b47cf0472d9e9f468d08a4fdc0 (diff) | |
download | rabbitmq-c-github-ask-42625a55de0b66a75cf4afcfd658bf726ad77db4.tar.gz |
Update build matrix to include autoconf build
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 16 |
1 files 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 |