TRAVIS: fix build with lz4

This commit is contained in:
hasufell 2014-06-22 23:25:40 +02:00
parent e4b6ca84e5
commit e29b54a876
No known key found for this signature in database
GPG Key ID: 220CD1C5BDEED020

View File

@ -4,7 +4,7 @@ env:
global: global:
secure: "BB9eiRNXC1PfNRLEifc0yQQZnM25zqaWNGVWN+atzT+NkxhVKyVr8+DoyPYaa8tOKybuSZhVkKnIiCd8iGMe3v+WyuHKFuhdiwdnEQhxbBlUCb9dDLEexI+J8QiYwC8AW/t6H9LWVwSka0RI3GJujJ8HKIBzW45I/j+1NlUte8U=" secure: "BB9eiRNXC1PfNRLEifc0yQQZnM25zqaWNGVWN+atzT+NkxhVKyVr8+DoyPYaa8tOKybuSZhVkKnIiCd8iGMe3v+WyuHKFuhdiwdnEQhxbBlUCb9dDLEexI+J8QiYwC8AW/t6H9LWVwSka0RI3GJujJ8HKIBzW45I/j+1NlUte8U="
before_script: before_script:
- sudo apt-get install -qq libgmp-dev libmpfr-dev doxygen graphviz - sudo apt-get install -qq libgmp-dev libmpfr-dev doxygen graphviz cmake
- sudo apt-get remove doxygen - sudo apt-get remove doxygen
- wget http://www.flintlib.org/flint-2.4.3.tar.gz - wget http://www.flintlib.org/flint-2.4.3.tar.gz
- tar -xzf flint-2.4.3.tar.gz - tar -xzf flint-2.4.3.tar.gz
@ -20,6 +20,13 @@ before_script:
- make - make
- sudo make install - sudo make install
- cd .. - cd ..
- wget http://dev.gentoo.org/~ryao/dist/lz4-0_p106.tar.xz
- tar -xJf lz4-0_p106.tar.xz
- cd lz4-0_p106/cmake
- cmake -DBUILD_LIBS=ON -DBUILD_SHARED_LIBS=ON .
- make
- sudo make install
- cd ../..
script: script:
- make CC=clang - make CC=clang
- make doc - make doc