Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
protobuf-c
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
protobuf-c
Commits
3bcca236
Unverified
Commit
3bcca236
authored
Aug 13, 2018
by
Robert Edmonds
Committed by
GitHub
Aug 13, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #332 from protobuf-c/edmonds/travis-updates
Update Travis to use xenial, protobuf 3.6.1
parents
4912c5a5
0585e053
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
38 deletions
+12
-38
.travis.yml
.travis.yml
+12
-38
No files found.
.travis.yml
View file @
3bcca236
...
...
@@ -2,45 +2,20 @@ language:
-
c
-
cpp
# Use Trusty VM
sudo
:
required
dist
:
trusty
dist
:
xenial
matrix
:
include
:
# Test default gcc
-
env
:
GCC_VERSION=4.8
os
:
linux
compiler
:
gcc
addons
:
apt
:
packages
:
-
lcov
-
valgrind
addons
:
apt
:
packages
:
-
lcov
-
valgrind
# Test gcc-5.0
-
env
:
GCC_VERSION=5
os
:
linux
addons
:
apt
:
packages
:
-
valgrind
-
g++-5
-
gcc-5
sources
:
-
ubuntu-toolchain-r-test
env
:
global
:
-
PROTOBUF_VERSION=3.0.2
-
PKG_CONFIG_PATH=$HOME/protobuf-$PROTOBUF_VERSION-bin/lib/pkgconfig
before_install
:
-
if [ -n "$GCC_VERSION" ]; then export CXX="g++-${GCC_VERSION}" CC="gcc-${GCC_VERSION}"; fi
-
if [ -n "$CLANG_VERSION" ]; then export CXX="clang++-${CLANG_VERSION}" CC="clang-${CLANG_VERSION}"; fi
-
if [ "$GCC_VERSION" == "4.8" ]; then export CXX="g++" CC="gcc"; fi
-
which $CXX
-
which $CC
-
which valgrind
global
:
-
CXX="g++ -std=c++11"
-
PROTOBUF_VERSION=3.6.1
-
PKG_CONFIG_PATH=$HOME/protobuf-$PROTOBUF_VERSION-bin/lib/pkgconfig
install
:
-
pip install --user cpp-coveralls
...
...
@@ -51,8 +26,7 @@ install:
script
:
-
./autogen.sh
-
./configure && make -j2 distcheck VERBOSE=1 && make clean
-
if [ "$GCC_VERSION" != "4.8" ]; then ./configure --enable-valgrind-tests CFLAGS="-fsanitize=undefined -fno-sanitize-recover=undefined" && make -j2 distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-valgrind-tests CFLAGS=\"-fsanitize=undefined -fno-sanitize-recover=undefined\"" VERBOSE=1 && make clean; fi
-
if [ "$CC" = "gcc" ]; then ./configure --enable-code-coverage && make -j2 && make check; fi
-
./configure --enable-valgrind-tests CFLAGS="-fsanitize=undefined -fno-sanitize-recover=undefined" && make -j2 distcheck DISTCHECK_CONFIGURE_FLAGS="--enable-valgrind-tests CFLAGS=\"-fsanitize=undefined -fno-sanitize-recover=undefined\"" VERBOSE=1 && make clean
after_success
:
-
if [ "$CC" = "gcc" ]; then cpp-coveralls --build-root . --exclude t/ --exclude /usr/include --exclude protobuf-$PROTOBUF_VERSION --exclude protoc-c; fi
-
cpp-coveralls --build-root . --exclude t/ --exclude /usr/include --exclude protobuf-$PROTOBUF_VERSION --exclude protoc-c
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