.travis.yml revision 3c5361ae
1language: c
2matrix:
3    include:
4        - name: Linux (gcc)
5          os: linux
6          compiler: gcc
7          addons:
8            apt:
9                packages:
10                - libevent-dev
11        - name: Linux (clang)
12          os: linux
13          compiler: clang
14          addons:
15            apt:
16                packages:
17                - libevent-dev
18        - name: macOS
19          os: osx
20sudo: false
21before_install:
22    - sudo add-apt-repository -y ppa:longsleep/golang-backports
23    - sudo apt-get update
24    - sudo apt-get install golang-1.13-go
25install:
26    - export PATH=/usr/lib/go-1.13/bin:$PATH
27before_script:
28    - git clone https://boringssl.googlesource.com/boringssl
29    - cd boringssl
30    # This is so that both GQUIC and IETF branches build.  Just picking
31    # a known good revision:
32    - git checkout 49de1fc2910524c888866c7e2b0db1ba8af2a530
33    - cmake .
34    - make
35    - cd -
36    - git submodule init
37    - git submodule update
38    - cmake -DBORINGSSL_DIR=$PWD/boringssl .
39script:
40    # Now build lsquic-client
41    - make
42    - make test
43