mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-06 18:18:52 +08:00
This is because when we make tar ball, we are no longer under git control. git submodule does not work there. We instead bundle mruby source tree in archive. git submodule command is only required when building from git repository.
39 lines
685 B
YAML
39 lines
685 B
YAML
language: cpp
|
|
compiler:
|
|
- clang
|
|
- gcc
|
|
sudo: false
|
|
addons:
|
|
apt:
|
|
sources:
|
|
- ubuntu-toolchain-r-test
|
|
packages:
|
|
- g++-4.9
|
|
- libstdc++-4.9-dev
|
|
- autoconf
|
|
- automake
|
|
- autotools-dev
|
|
- libtool
|
|
- pkg-config
|
|
- zlib1g-dev
|
|
- libcunit1-dev
|
|
- libssl-dev
|
|
- libxml2-dev
|
|
- libev-dev
|
|
- libevent-dev
|
|
- libjansson-dev
|
|
- libjemalloc-dev
|
|
before_install:
|
|
- $CC --version
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
|
|
- $CC --version
|
|
before_script:
|
|
- autoreconf -i
|
|
- automake
|
|
- autoconf
|
|
- git submodule update --init
|
|
- ./configure --enable-werror --with-mruby
|
|
script:
|
|
- make
|
|
- make check
|