2014-05-27 08:31:22 +02:00
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- clang
|
2015-04-22 16:17:21 +02:00
|
|
|
- gcc
|
2015-04-22 16:03:29 +02:00
|
|
|
sudo: false
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
2015-04-22 16:47:13 +02:00
|
|
|
- g++-4.9
|
|
|
|
- libstdc++-4.9-dev
|
2015-04-22 16:03:29 +02:00
|
|
|
- autoconf
|
|
|
|
- automake
|
|
|
|
- autotools-dev
|
|
|
|
- libtool
|
|
|
|
- pkg-config
|
|
|
|
- zlib1g-dev
|
|
|
|
- libcunit1-dev
|
|
|
|
- libssl-dev
|
|
|
|
- libxml2-dev
|
|
|
|
- libev-dev
|
|
|
|
- libevent-dev
|
|
|
|
- libjansson-dev
|
|
|
|
- libjemalloc-dev
|
2014-05-27 08:31:22 +02:00
|
|
|
before_install:
|
|
|
|
- $CC --version
|
2015-04-22 16:47:13 +02:00
|
|
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
|
2014-05-27 08:31:22 +02:00
|
|
|
- $CC --version
|
2015-11-23 06:58:17 +01:00
|
|
|
- go version
|
2014-05-27 08:31:22 +02:00
|
|
|
before_script:
|
2015-11-23 06:58:17 +01:00
|
|
|
# First build spdylay, since integration tests require it.
|
|
|
|
# spdylay is going to be built under third-party/spdylay
|
|
|
|
- cd third-party
|
|
|
|
- git clone https://github.com/tatsuhiro-t/spdylay.git
|
|
|
|
- cd spdylay
|
|
|
|
- autoreconf -i
|
|
|
|
- ./configure --disable-src --disable-examples
|
|
|
|
- make check
|
|
|
|
- export SPDYLAY_HOME=$PWD
|
|
|
|
- cd ../..
|
|
|
|
# Now build nghttp2
|
2014-05-27 08:31:22 +02:00
|
|
|
- autoreconf -i
|
2015-09-05 18:23:11 +02:00
|
|
|
- git submodule update --init
|
2015-11-23 06:58:17 +01:00
|
|
|
- ./configure --enable-werror --with-mruby --with-neverbleed LIBSPDYLAY_CFLAGS="-I$SPDYLAY_HOME/lib/includes" LIBSPDYLAY_LIBS="-L$SPDYLAY_HOME/lib/.libs -lspdylay"
|
2014-05-27 08:31:22 +02:00
|
|
|
script:
|
|
|
|
- make
|
2014-08-08 13:20:48 +02:00
|
|
|
- make check
|
2015-11-23 06:58:17 +01:00
|
|
|
- cd integration-tests
|
|
|
|
- export GOPATH="$PWD/integration-tests/golang"
|
|
|
|
- make itprep-local
|
|
|
|
- make it-local
|