summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-06-16 17:24:09 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-06-21 19:12:32 +0200
commit7ea0a0db32300cac63775501bd92bb884ef550c4 (patch)
tree3412f4da96ba0859a942a38fd8c1fccc4170c3c0 /.travis.yml
parentddc6bc330f4d92cf400e8c0b8c914f659884ecb6 (diff)
downloadqtlocation-mapboxgl-7ea0a0db32300cac63775501bd92bb884ef550c4.tar.gz
[tests] Run memory tests on travis
Qt4 will run tests with libjemalloc.so. The Memory.Footprint and the Memory.Fragmentation will only run with libjemalloc.so because we have then a better control over the results.
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 56f34a90be..ec3282cc0d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -18,7 +18,7 @@ addons_shortcuts:
addons_qt4: &qt4
apt:
sources: [ 'ubuntu-toolchain-r-test' ]
- packages: [ 'g++-5', 'gcc-5',
+ packages: [ 'g++-5', 'gcc-5', 'libjemalloc-dev',
'mesa-utils', 'qt4-default' ]
addons_qt5: &qt5
apt:
@@ -117,14 +117,15 @@ matrix:
# Qt 4 - Release
- os: linux
- sudo: false
+ sudo: required
+ dist: trusty
language: cpp
compiler: "qt4-gcc5-release"
env: BUILDTYPE=Release _CXX=g++-5 _CC=gcc-5
addons: *qt4
script:
- make qt-app
- - make test-qt
+ - LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so make test-qt-Memory.*:*.Load
# Qt 5 - Release
- os: linux
@@ -137,7 +138,7 @@ matrix:
script:
- make qt-app
- make qt-qml-app
- - make test-valgrind-qt
+ - make test-valgrind-qt--*.Load
cache:
directories: