litespeed-quic/.travis.yml

42 lines
1,014 B
YAML
Raw Normal View History

2017-10-09 06:13:56 +00:00
language: cpp
compiler:
- clang
- gcc
sudo: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-precise-3.8
- george-edison55-precise-backports
packages:
- g++-5
- clang-3.8
2018-04-23 15:06:02 +00:00
- libevent-dev
2017-10-09 11:37:25 +00:00
- libssl-dev
2017-10-09 06:13:56 +00:00
- cmake
- cmake-data
before_install:
- $CC --version
- if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; else export CXX="clang++-3.8" CC="clang-3.8"; fi
- $CC --version
- cmake --version
before_script:
2017-10-12 06:09:14 +00:00
- git clone https://boringssl.googlesource.com/boringssl
2017-10-09 12:26:18 +00:00
- cd boringssl
- git checkout chromium-stable
- cmake .
- make -j$(nproc)
- BORINGSSL_SOURCE=$PWD
2018-04-23 15:06:02 +00:00
- mkdir -p $HOME/boringssl-libs
- cd $HOME/boringssl-libs
2017-10-09 12:26:18 +00:00
- ln -s $BORINGSSL_SOURCE/ssl/libssl.a
- ln -s $BORINGSSL_SOURCE/crypto/libcrypto.a
2018-04-23 15:06:02 +00:00
- cd $TRAVIS_BUILD_DIR
2017-10-09 12:26:18 +00:00
- echo $BORINGSSL_SOURCE
2018-04-23 15:06:02 +00:00
- cmake -DBORINGSSL_INCLUDE=$BORINGSSL_SOURCE/include -DBORINGSSL_LIB=$HOME/boringssl-libs .
2017-10-09 12:26:18 +00:00
script:
2017-10-09 06:13:56 +00:00
# Now build lsquic-client
- make
- make test