.travis.yml revision 42af697e
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    - cmake
17    - cmake-data
18before_install:
19  - $CC --version
20  - if [ "$CXX" = "g++" ]; then export CXX="g++-5" CC="gcc-5"; else export CXX="clang++-3.8" CC="clang-3.8"; fi
21  - $CC --version
22  - cmake --version
23before_script:
24  # First build external lib
25  - ./ci/build_boringssl.sh
26  # configure lsquic
27  - cmake -DBORINGSSL_INCLUDE=$BORINGSSL_SOURCE/include -DBORINGSSL_LIB=$HOME/tmp/boringssl-libs .
28script:
29  # Now build lsquic-client
30  - make
31  - make test
32