.travis.yml revision 13802590
1language: cpp 2compiler: 3 - clang 4 - gcc 5sudo: false 6addons: 7 apt: 8 sources: 9 - ubuntu-toolchain-r-test 10 - llvm-toolchain-precise-3.8 11 - george-edison55-precise-backports 12 packages: 13 - g++-5 14 - clang-3.8 15 - libev-dev 16 - libssl-dev 17 - cmake 18 - cmake-data 19before_install: 20 - $CC --version 21 - if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; else export CXX="clang++-3.8" CC="clang-3.8"; fi 22 - $CC --version 23 - cmake --version 24before_script: 25 # First build external lib 26 - git clone https://boringssl.googlesource.com/boringssl 27 - cd boringssl 28 - git checkout chromium-stable 29 - cmake . 30 - make -j$(nproc) 31 - BORINGSSL_SOURCE=$PWD 32 - mkdir -p $HOME/tmp/boringssl-libs 33 - cd $HOME/tmp/boringssl-libs 34 - ln -s $BORINGSSL_SOURCE/ssl/libssl.a 35 - ln -s $BORINGSSL_SOURCE/crypto/libcrypto.a 36 #- ./ci/build_boringssl.sh 37 # configure lsquic 38 - echo $BORINGSSL_SOURCE 39 - cmake -DBORINGSSL_INCLUDE=$BORINGSSL_SOURCE/include -DBORINGSSL_LIB=$HOME/tmp/boringssl-libs . 40script: 41 # Now build lsquic-client 42 - make 43 - make test 44