.travis.yml revision 8f498c7c
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  - ./ci/build_boringssl.sh
27  # configure lsquic
28  - echo $BORINGSSL_SOURCE  
29  - cmake -DBORINGSSL_INCLUDE=$BORINGSSL_SOURCE/include -DBORINGSSL_LIB=$HOME/tmp/boringssl-libs . script:
30  # Now build lsquic-client
31  - make
32  - make test
33