language: cpp
os:
  - linux
  - osx
env:
  - CFLAGS="-O0 -g" QMAKEFLAGS="-config debug" PATH=/opt/qt56/bin:/usr/local/opt/qt5/bin:$PATH
install:
  - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
        sudo apt-add-repository -y ppa:beineri/opt-qt562;
        sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test;
        sudo apt-get update -qq;
        sudo apt-get install -y qt56base valgrind g++-5;
    else
        brew install qt5;
    fi
script:
  - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
        sudo ln -sf g++-5 /usr/bin/g++;
    fi
  - make -s -f Makefile.configure configure | tee .config
  - make
        CFLAGS="$CFLAGS"
        all tests/Makefile
  - cd tests && make check -k
        TESTRUNNER=`which valgrind 2>/dev/null`

language: cpp
os:
  - linux
  - osx
env:
  - CFLAGS="-O0 -g" QMAKEFLAGS="-config debug" PATH=/opt/qt56/bin:/usr/local/opt/qt5/bin:$PATH
addons:
  apt:
    sources:
      - sourceline: 'ppa:beineri/opt-qt563-trusty'
    packages:
      - qt56base valgrind
install:
  - if [ "${TRAVIS_OS_NAME}" != "linux" ]; then
        brew install qt5;
    fi
script:
  - make -s -f Makefile.configure configure | tee .config
  - make
        CFLAGS="$CFLAGS"
        all tests/Makefile
  - cd tests && make check -k
        TESTRUNNER=`which valgrind 2>/dev/null`

Update Qt installation to 5.6.3 for Travis
Update Qt installation to 5.6.3 for Travis

Signed-off-by: Thiago Macieira <0ed1648d92ca0373297a182b1dba1b974ad10d88@intel.com>
