Fix up .travis.yml

This commit is contained in:
Dmitri Tikhonov 2018-04-23 11:06:02 -04:00
parent 11597b8ff0
commit 69ecc99802

View file

@ -12,7 +12,7 @@ addons:
packages: packages:
- g++-5 - g++-5
- clang-3.8 - clang-3.8
- libev-dev - libevent-dev
- libssl-dev - libssl-dev
- cmake - cmake
- cmake-data - cmake-data
@ -22,23 +22,20 @@ before_install:
- $CC --version - $CC --version
- cmake --version - cmake --version
before_script: before_script:
# First build external lib
- git clone https://boringssl.googlesource.com/boringssl - git clone https://boringssl.googlesource.com/boringssl
- cd boringssl - cd boringssl
- git checkout chromium-stable - git checkout chromium-stable
- cmake . - cmake .
- make -j$(nproc) - make -j$(nproc)
- BORINGSSL_SOURCE=$PWD - BORINGSSL_SOURCE=$PWD
- mkdir -p $HOME/tmp/boringssl-libs - mkdir -p $HOME/boringssl-libs
- cd $HOME/tmp/boringssl-libs - cd $HOME/boringssl-libs
- ln -s $BORINGSSL_SOURCE/ssl/libssl.a - ln -s $BORINGSSL_SOURCE/ssl/libssl.a
- ln -s $BORINGSSL_SOURCE/crypto/libcrypto.a - ln -s $BORINGSSL_SOURCE/crypto/libcrypto.a
- cd .. - cd $TRAVIS_BUILD_DIR
#- ./ci/build_boringssl.sh
# configure lsquic
- echo $BORINGSSL_SOURCE - echo $BORINGSSL_SOURCE
- cmake -DBORINGSSL_INCLUDE=$BORINGSSL_SOURCE/include -DBORINGSSL_LIB=$HOME/tmp/boringssl-libs . - cmake -DBORINGSSL_INCLUDE=$BORINGSSL_SOURCE/include -DBORINGSSL_LIB=$HOME/boringssl-libs .
script: script:
# Now build lsquic-client # Now build lsquic-client
- make - make
- make test - ctest -VV