Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
8d6ecd66
Commit
8d6ecd66
authored
May 28, 2019
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable osx build on travis
parent
f82fb521
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
5 deletions
+22
-5
.travis.yml
.travis.yml
+22
-5
No files found.
.travis.yml
View file @
8d6ecd66
dist
:
xenial
os
:
-
linux
compiler
:
-
clang
-
gcc
env
:
matrix
:
-
CI_BUILD=cmake
-
CI_BUILD=autotools
matrix
:
include
:
-
os
:
osx
compiler
:
clang
osx_image
:
xcode10.2
env
:
CI_BUILD=autotools
language
:
cpp
compiler
:
-
clang
-
gcc
sudo
:
required
addons
:
apt
:
...
...
@@ -30,6 +38,13 @@ addons:
-
libc-ares-dev
-
cmake
-
cmake-data
homebrew
:
packages
:
-
libev
-
libevent
-
c-ares
-
cunit
-
libressl
before_install
:
-
$CC --version
-
if [ "$CXX" = "g++" ]; then export CXX="g++-8" CC="gcc-8"; fi
...
...
@@ -37,13 +52,15 @@ before_install:
-
go version
-
cmake --version
before_script
:
-
if [ "$TRAVIS_OS_NAME" = "linux" ]; then CPPFLAGS=-fsanitize=address LDFLAGS="-fsanitize=address -fuse-ld=gold"; fi
-
if [ "$TRAVIS_OS_NAME" = "osx" ]; then PKG_CONFIG_PATH=/usr/local/opt/libressl/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig; fi
# Now build nghttp2
-
if [ "$CI_BUILD" = "autotools" ]; then autoreconf -i; fi
-
git submodule update --init
-
if [ "$CI_BUILD" = "autotools" ]; then ./configure --with-mruby; fi
-
if [ "$CI_BUILD" = "autotools" ]; then ./configure --with-mruby
PKG_CONFIG_PATH=$PKG_CONFIG_PATH
; fi
-
if [ "$CI_BUILD" = "cmake" ]; then cmake -DENABLE_WERROR=1 -DWITH_MRUBY=1 -DWITH_NEVERBLEED=1; fi
script
:
-
if [ "$CI_BUILD" = "autotools" ]; then make distcheck DISTCHECK_CONFIGURE_FLAGS="--with-mruby --with-neverbleed --enable-werror CPPFLAGS=
-fsanitize=address LDFLAGS=\"-fsanitize=address -fuse-ld=gold\"
"; fi
-
if [ "$CI_BUILD" = "autotools" ]; then make distcheck DISTCHECK_CONFIGURE_FLAGS="--with-mruby --with-neverbleed --enable-werror CPPFLAGS=
$CPPFLAGS LDFLAGS=\"$LDFLAGS\" PKG_CONFIG_PATH=$PKG_CONFIG_PATH
"; fi
-
if [ "$CI_BUILD" = "cmake" ]; then make check; fi
# As of April, 23, 2016, golang http2 build fails, probably because
# the default go version is too old.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment