forked from twitter/pelikan
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
buf_sock memory leak fixed, merged ccommon change introducing sockio …
…metrics (twitter#128) * Squashed 'deps/ccommon/' changes from bb298bc..ab0edc8 ab0edc8 add metrics to track buf_sock objects (twitter#138) ae02038 add travis ci (copied from pelikan) (twitter#139) 964645a Merge pull request twitter#135 from paegun/fix_cmake_install 70710c2 fixed and re-added cmake install instructions, w/ following notes: include directory made proper relative; opened pattern match b/c include directory should only contain files meant for inclusion. 5b095bc Merge pull request twitter#126 from kevyang/kevyang/120 426d56a return NULL when cc_alloc/cc_realloc is called with size == 0 ad271d4 Merge pull request twitter#133 from kevyang/132 47dbdba suppress unused parameter warning in debug_log_flush 648d19e Merge pull request twitter#127 from kevyang/56 780941a Merge pull request twitter#130 from kevyang/129 b8af6c0 Merge pull request twitter#131 from kevyang/128 6ecc318 fix duplicate symbols in cc_signal 080c41d cc_array - stop doing arithmetic on void * d526f7a add debug oriented memory management a4fb927 Update bool member rules in style guide 05c6e1e explicitly make ccommon a C project to avoid checking for CXX related variables git-subtree-dir: deps/ccommon git-subtree-split: ab0edc8 * sockio metrics help solve the memory leak
- Loading branch information
1 parent
9edbdf4
commit 399364b
Showing
17 changed files
with
160 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
sudo: required | ||
language: c | ||
|
||
# using anchor to import sources into linux builds | ||
addons: | ||
apt: &apt | ||
sources: | ||
- ubuntu-toolchain-r-test | ||
- llvm-toolchain-precise-3.6 | ||
- llvm-toolchain-precise-3.7 | ||
- llvm-toolchain-precise | ||
|
||
# travis currently does not support directly setting gcc/clang with versions | ||
# (e.g. gcc-4.8) as value for the compiler key. So we will have to manually | ||
# request these packages and use environment varibles to create the matrix. | ||
# | ||
# In the case of osx, use brew to install the paritcular versions, instead of | ||
# specifying with packages. | ||
matrix: | ||
include: | ||
# gcc 4.8 on linux | ||
- env: C_COMPILER=gcc-4.8 | ||
addons: | ||
apt: | ||
<<: *apt | ||
packages: gcc-4.8 | ||
|
||
# gcc 4.9 on linux | ||
- env: C_COMPILER=gcc-4.9 | ||
addons: | ||
apt: | ||
<<: *apt | ||
packages: gcc-4.9 | ||
|
||
# gcc 5 on linux | ||
- env: C_COMPILER=gcc-5 | ||
addons: | ||
apt: | ||
<<: *apt | ||
packages: gcc-5 | ||
|
||
# clang 3.6 on linux | ||
- env: C_COMPILER=clang-3.6 | ||
addons: | ||
apt: | ||
<<: *apt | ||
packages: clang-3.6 | ||
|
||
# clang 3.7 on linux | ||
- env: C_COMPILER=clang-3.7 | ||
addons: | ||
apt: | ||
<<: *apt | ||
packages: clang-3.7 | ||
|
||
## gcc 4.8 on osx | ||
#- os: osx | ||
# env: FORMULA=gcc48 COMPILER=gcc C_COMPILER=gcc-4.8 | ||
# | ||
## gcc 4.9 on osx | ||
#- os: osx | ||
# env: FORMULA=gcc49 COMPILER=gcc C_COMPILER=gcc-4.9 | ||
# | ||
## gcc 5 on osx | ||
#- os: osx | ||
# env: FORMULA=gcc5 COMPILER=gcc C_COMPILER=gcc-5 | ||
|
||
# clang 3.6 on osx | ||
- os: osx | ||
osx_image: xcode6.4 | ||
env: C_COMPILER=clang | ||
|
||
# clang 3.7 on osx | ||
- os: osx | ||
osx_image: xcode7.1 | ||
env: C_COMPILER=clang | ||
|
||
|
||
before_install: | ||
# for osx: 0. update brew; 1. install cmake if missing; 2. (gcc) unlink pre-installed gcc; 3. (gcc) install desired version of gcc | ||
- 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi' | ||
- 'if [[ "$TRAVIS_OS_NAME" == "osx" && -z "$(which cmake)" ]]; then brew install cmake; fi' # xcode 7.1 is missing cmake | ||
- 'if [[ "$TRAVIS_OS_NAME" == "osx" && "$COMPILER" == "gcc" ]]; then brew unlink gcc || true; fi' # ignore unlink errors | ||
- 'if [[ "$TRAVIS_OS_NAME" == "osx" && "$COMPILER" == "gcc" ]]; then brew unlink $FORMULA || true; fi' # ignore unlink errors | ||
- 'if [[ "$TRAVIS_OS_NAME" == "osx" && "$COMPILER" == "gcc" ]]; then brew install $FORMULA; fi' | ||
- export CC=$C_COMPILER | ||
- wget https://github.com/libcheck/check/releases/download/0.11.0/check-0.11.0.tar.gz | ||
- tar xvfz check-0.11.0.tar.gz | ||
- cd check-0.11.0 && ./configure && make && sudo make install && cd .. | ||
|
||
script: | ||
- mkdir _build && cd _build | ||
- cmake .. | ||
- make -j | ||
- make check |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters