blob: c3e1c7ca6bae060a4e680559b34dbf1d3a7d8824 [file] [log] [blame]
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`