Skip to content

Commit

Permalink
[travis] custom allocator build matrix, take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
PJK committed Apr 25, 2015
1 parent ce3b1b2 commit f1e1359
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: c

before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
Expand All @@ -12,12 +13,15 @@ before_install:
- sudo make install
- export LD_LIBRARY_PATH=/usr/local/lib:${LD_LIBRARY_PATH}
- cd ../..
compiler:
- gcc
- clang

matrix:
include:
- env: CUSTOM_ALLOC=ON
- env: CUSTOM_ALLOC=OFF
- compiler: clang
env: CUSTOM_ALLOC=ON
- compiler: clang
env: CUSTOM_ALLOC=OFF
- compiler: gcc
env: CUSTOM_ALLOC=OFF

script:
- export SOURCE=$(pwd) && mkdir /tmp/build && (cd /tmp/build && cmake -DCUSTOM_ALLOC=$CUSTOM_ALLOC -DCMAKE_BUILD_TYPE=Debug $SOURCE && make && ctest -V)

0 comments on commit f1e1359

Please sign in to comment.