.travis.yml revision 3c5361ae
112693a01SDmitri Tikhonovlanguage: c
212693a01SDmitri Tikhonovmatrix:
312693a01SDmitri Tikhonov    include:
412693a01SDmitri Tikhonov        - name: Linux (gcc)
512693a01SDmitri Tikhonov          os: linux
612693a01SDmitri Tikhonov          compiler: gcc
712693a01SDmitri Tikhonov          addons:
812693a01SDmitri Tikhonov            apt:
912693a01SDmitri Tikhonov                packages:
1012693a01SDmitri Tikhonov                - libevent-dev
1112693a01SDmitri Tikhonov        - name: Linux (clang)
1212693a01SDmitri Tikhonov          os: linux
1312693a01SDmitri Tikhonov          compiler: clang
1412693a01SDmitri Tikhonov          addons:
1512693a01SDmitri Tikhonov            apt:
1612693a01SDmitri Tikhonov                packages:
1712693a01SDmitri Tikhonov                - libevent-dev
1812693a01SDmitri Tikhonov        - name: macOS
1912693a01SDmitri Tikhonov          os: osx
2042af697eSAlexis La Gouttesudo: false
21dc9e9148SLiteSpeed Techbefore_install:
22f8325ef9SLiteSpeed Tech    - sudo add-apt-repository -y ppa:longsleep/golang-backports
23dc9e9148SLiteSpeed Tech    - sudo apt-get update
24ef293bc8SLiteSpeed Tech    - sudo apt-get install golang-1.13-go
253c5361aeSLiteSpeed Techinstall:
263c5361aeSLiteSpeed Tech    - export PATH=/usr/lib/go-1.13/bin:$PATH
2742af697eSAlexis La Gouttebefore_script:
2812693a01SDmitri Tikhonov    - git clone https://boringssl.googlesource.com/boringssl
2912693a01SDmitri Tikhonov    - cd boringssl
3012693a01SDmitri Tikhonov    # This is so that both GQUIC and IETF branches build.  Just picking
3112693a01SDmitri Tikhonov    # a known good revision:
324947ba95SDmitri Tikhonov    - git checkout 49de1fc2910524c888866c7e2b0db1ba8af2a530
3312693a01SDmitri Tikhonov    - cmake .
3412693a01SDmitri Tikhonov    - make
3512693a01SDmitri Tikhonov    - cd -
365392f7a3SLiteSpeed Tech    - git submodule init
375392f7a3SLiteSpeed Tech    - git submodule update
38b1af35d6SDmitri Tikhonov    - cmake -DBORINGSSL_DIR=$PWD/boringssl .
3932786108SAlexis La Gouttescript:
4012693a01SDmitri Tikhonov    # Now build lsquic-client
4112693a01SDmitri Tikhonov    - make
4212693a01SDmitri Tikhonov    - make test
43