travis: Enable integration tests and neverbleed
We added spdylay build since integration tests require it.
This commit is contained in:
parent
dff2a19950
commit
e95ad297ed
20
.travis.yml
20
.travis.yml
|
@ -27,12 +27,26 @@ before_install:
|
||||||
- $CC --version
|
- $CC --version
|
||||||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.9" CC="gcc-4.9"; fi
|
||||||
- $CC --version
|
- $CC --version
|
||||||
|
- go version
|
||||||
before_script:
|
before_script:
|
||||||
|
# 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
|
||||||
- autoreconf -i
|
- autoreconf -i
|
||||||
- automake
|
|
||||||
- autoconf
|
|
||||||
- git submodule update --init
|
- git submodule update --init
|
||||||
- ./configure --enable-werror --with-mruby
|
- ./configure --enable-werror --with-mruby --with-neverbleed LIBSPDYLAY_CFLAGS="-I$SPDYLAY_HOME/lib/includes" LIBSPDYLAY_LIBS="-L$SPDYLAY_HOME/lib/.libs -lspdylay"
|
||||||
script:
|
script:
|
||||||
- make
|
- make
|
||||||
- make check
|
- make check
|
||||||
|
- cd integration-tests
|
||||||
|
- export GOPATH="$PWD/integration-tests/golang"
|
||||||
|
- make itprep-local
|
||||||
|
- make it-local
|
||||||
|
|
Loading…
Reference in New Issue