.travis.yml revision 41e82b6f
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
27    - export GOPATH=/usr/lib/go-1.13:$GOPATH
28before_script:
29    - git clone https://boringssl.googlesource.com/boringssl
30    - cd boringssl
31    # This is so that both GQUIC and IETF branches build.  Just picking
32    # a known good revision:
33    - git checkout 49de1fc2910524c888866c7e2b0db1ba8af2a530
34    - cmake .
35    - make
36    - cd -
37    - git submodule init
38    - git submodule update
39    - cmake -DBORINGSSL_DIR=$PWD/boringssl .
40script:
41    # Now build lsquic-client
42    - make
43    - make test
44