Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pistache
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
pistache
Commits
8dbc68bb
Commit
8dbc68bb
authored
Feb 05, 2019
by
ciody
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get core dumps for failed travis-ci builds
parent
cc8f6616
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
13 deletions
+23
-13
.travis.yml
.travis.yml
+23
-13
No files found.
.travis.yml
View file @
8dbc68bb
...
@@ -21,7 +21,8 @@ matrix:
...
@@ -21,7 +21,8 @@ matrix:
'
clang-4.0'
,
'
clang-4.0'
,
'
libstdc++-6-dev'
,
'
libstdc++-6-dev'
,
'
libssl-dev'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
'
libcurl4-openssl-dev'
,
'
gdb'
]
]
-
os
:
linux
-
os
:
linux
...
@@ -35,7 +36,8 @@ matrix:
...
@@ -35,7 +36,8 @@ matrix:
'
clang-5.0'
,
'
clang-5.0'
,
'
libstdc++-6-dev'
,
'
libstdc++-6-dev'
,
'
libssl-dev'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
'
libcurl4-openssl-dev'
,
'
gdb'
]
]
-
os
:
linux
-
os
:
linux
...
@@ -49,7 +51,8 @@ matrix:
...
@@ -49,7 +51,8 @@ matrix:
'
clang-6.0'
,
'
clang-6.0'
,
'
libstdc++-6-dev'
,
'
libstdc++-6-dev'
,
'
libssl-dev'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
'
libcurl4-openssl-dev'
,
'
gdb'
]
]
# Linux GCC builds
# Linux GCC builds
...
@@ -59,7 +62,7 @@ matrix:
...
@@ -59,7 +62,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-4.9'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
]
packages
:
[
'
g++-4.9'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
]
-
os
:
linux
-
os
:
linux
compiler
:
gcc
compiler
:
gcc
...
@@ -67,7 +70,7 @@ matrix:
...
@@ -67,7 +70,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-5'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
]
packages
:
[
'
g++-5'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
]
-
os
:
linux
-
os
:
linux
compiler
:
gcc
compiler
:
gcc
...
@@ -75,7 +78,7 @@ matrix:
...
@@ -75,7 +78,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-6'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
]
packages
:
[
'
g++-6'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
]
-
os
:
linux
-
os
:
linux
compiler
:
gcc
compiler
:
gcc
...
@@ -83,7 +86,7 @@ matrix:
...
@@ -83,7 +86,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-7'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
]
packages
:
[
'
g++-7'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
]
-
os
:
linux
-
os
:
linux
compiler
:
gcc
compiler
:
gcc
...
@@ -91,7 +94,7 @@ matrix:
...
@@ -91,7 +94,7 @@ matrix:
addons
:
addons
:
apt
:
apt
:
sources
:
[
'
ubuntu-toolchain-r-test'
]
sources
:
[
'
ubuntu-toolchain-r-test'
]
packages
:
[
'
g++-8'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
]
packages
:
[
'
g++-8'
,
'
libssl-dev'
,
'
libcurl4-openssl-dev'
,
'
gdb'
]
install
:
install
:
-
DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
-
DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
...
@@ -101,21 +104,28 @@ before_script:
...
@@ -101,21 +104,28 @@ before_script:
-
export CXX=${COMPILER}
-
export CXX=${COMPILER}
-
cd ${TRAVIS_BUILD_DIR}
-
cd ${TRAVIS_BUILD_DIR}
# Use Debug builds for building and running examples
# Debug build
-
cmake -H. -BBuild-Debug
-
cmake -H. -BBuild-Debug
-DCMAKE_BUILD_TYPE=Debug
-DCMAKE_BUILD_TYPE=Debug
-DPISTACHE_BUILD_EXAMPLES=true
-DPISTACHE_BUILD_EXAMPLES=true
-DPISTACHE_BUILD_TESTS=true
-DPISTACHE_BUILD_TESTS=true
-DPISTACHE_SSL=true
-DPISTACHE_SSL=true
# Release build
# Enable core dumps
-
cmake -H. -BBuild-Release -DCMAKE_BUILD_TYPE=Release -DPISTACHE_SSL=true
-
ulimit -c unlimited -S
# Release build
-
cmake -H. -BBuild-Release -DCMAKE_BUILD_TYPE=Release -DPISTACHE_SSL=true
script
:
script
:
-
#
Go to d
ebug build
-
#
D
ebug build
-
cd Build-Debug
-
cd Build-Debug
-
make -j 2 all test ARGS="-V"
-
make -j 2 all test ARGS="-V"
-
#
Go to r
elease build
-
#
R
elease build
-
cd ../Build-Release
-
cd ../Build-Release
-
make -j
2
-
make -j
2
after_failure
:
-
COREFILE=$(find . -maxdepth 1 -name "core*" | head -n 1)
# find core file
-
if [[ -f "$COREFILE" ]]; then gdb -c "$COREFILE" example -ex "thread apply all bt" -ex "set pagination 0" -batch; fi
\ No newline at end of file
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