From 7ea0a0db32300cac63775501bd92bb884ef550c4 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Thu, 16 Jun 2016 17:24:09 +0300 Subject: [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. --- .travis.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to '.travis.yml') 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: -- cgit v1.2.1