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