Fix Travis builds

The maxavro requires some special libraries which aren't always
available. For this reason, the maxavro library shouldn't be build unless
all libraries are available.
This commit is contained in:
Markus Makela
2016-10-18 21:35:33 +03:00
parent 891ce2d0e7
commit 7d202eb084
3 changed files with 13 additions and 10 deletions

View File

@ -12,9 +12,9 @@ echo TRAVIS_BUILD_DIR: ${TRAVIS_BUILD_DIR}
mkdir build
cd build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=Y
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTS=Y -DBUILD_AVRO=N
make VERBOSE=1
make
make test
sudo make install