language: cpp os: - linux - osx compiler: - gcc - clang before_install: - QtMkspec=$CC - $CC --version install - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then sudo apt-add-repository -y ppa:ubuntu-toolchain-r/test && sudo apt-add-repository -y ppa:beineri/opt-qt541 && sudo apt-get -qq update && sudo apt-get -qq install g++-4.8 libc6-i386 qt54tools qt54svg qt54webkit && export CXX="g++-4.8" && export CC="gcc-4.8" ; else brew update && brew unlink cmake && brew install cmake && brew install qt5 && chmod -R 755 /usr/local/opt/qt5/* ; fi script: - cd qtpass - qmake -v - qmake -spec linux-$QtMkspec -Wall qtpass.pro - make -j$(nproc) notifications: irc: channels: - "chat.freenode.net#IJhack" on_success: change on_failure: always matrix: allow_failures: - os: osx