language : cpp
dist: trusty
env:
  - DISPLAY=:99.0
addons:
  apt:
    packages:
    - valgrind
compiler:
  - gcc
before_install:
    - export GOPATH=`pwd`/gosrc
    - export PATH=`pwd`/gosrc/bin:$PATH
    - go get qpm.io/qpm
    - find $GOPATH
    - sh -e /etc/init.d/xvfb start
script:
    - git clone https://github.com/benlau/qtci.git
    - source qtci/path.env
    - qt-5.7
    - source qt-5.7.env
    - mkdir build
    - cd build
    - run-unittests ../tests/asyncfutureunittests/asyncfutureunittests.pro
    - valgrind --leak-check=full --track-origins=yes ./asyncfutureunittests


language : cpp
dist: trusty
env:
  - DISPLAY=:99.0
addons:
  apt:
    packages:
    - valgrind
compiler:
  - gcc
before_install:
    - export GOPATH=`pwd`/gosrc
    - export PATH=`pwd`/gosrc/bin:$PATH
    - go get qpm.io/qpm
    - find $GOPATH
    - sh -e /etc/init.d/xvfb start
script:
    - git clone https://github.com/benlau/qtci.git
    - source qtci/path.env
    - qt-5.7
    - source qt-5.7.env
    - mkdir build
    - cd build
    - run-unittests ../tests/asyncfutureunittests/asyncfutureunittests.pro
    - valgrind --num-callers=30 --leak-check=full --track-origins=yes ./asyncfutureunittests


Increase the number of caller
valgrind: Increase the number of caller
