mirror of
https://github.com/QuasarApp/backward-cpp.git
synced 2025-05-11 00:49:49 +00:00
Run tests on Travis CI
This commit is contained in:
parent
d820636e5a
commit
ddf01ed3e3
23
.travis.yml
Normal file
23
.travis.yml
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
language: cpp
|
||||||
|
compiler:
|
||||||
|
- gcc
|
||||||
|
- clang
|
||||||
|
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
packages:
|
||||||
|
- valgrind
|
||||||
|
|
||||||
|
install:
|
||||||
|
- DEPS_DIR="${TRAVIS_BUILD_DIR}/deps"
|
||||||
|
- mkdir ${DEPS_DIR} && cd ${DEPS_DIR}
|
||||||
|
- CMAKE_URL="http://www.cmake.org/files/v3.3/cmake-3.3.2-Linux-x86_64.tar.gz"
|
||||||
|
- mkdir cmake && travis_retry wget --no-check-certificate --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C cmake
|
||||||
|
- export PATH=${DEPS_DIR}/cmake/bin:${PATH}
|
||||||
|
- cd ${TRAVIS_BUILD_DIR}
|
||||||
|
- mkdir build && cd build
|
||||||
|
- cmake .. -DBACKWARD_TESTS=ON
|
||||||
|
- cmake --build .
|
||||||
|
|
||||||
|
script:
|
||||||
|
- valgrind ctest .. --verbose
|
Loading…
x
Reference in New Issue
Block a user