Add matrix to travis.yml to compile with shared libraries

This commit is contained in:
David Capello 2015-06-08 16:33:59 -03:00
parent 470e1e93f7
commit ac4328f4cf

View File

@ -4,10 +4,15 @@ compiler:
- clang
- gcc
env:
matrix:
- SHARED=OFF
- SHARED=ON
before_script:
- mkdir build
- cd build
- cmake ..
- cmake .. -DUSE_SHARED_CURL=$SHARED -DUSE_SHARED_GIFLIB=$SHARED -DUSE_SHARED_JPEGLIB=$SHARED -DUSE_SHARED_ZLIB=$SHARED -DUSE_SHARED_LIBPNG=$SHARED -DUSE_SHARED_LIBLOADPNG=$SHARED -DUSE_SHARED_TINYXML=$SHARED -DUSE_SHARED_GTEST=$SHARED -DUSE_SHARED_PIXMAN=$SHARED -DUSE_SHARED_ALLEGRO4=$SHARED
script:
- "make"