1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 18:56:34 +01:00
falkonOfficial/.travis.yml
2015-08-30 17:42:58 +02:00

27 lines
655 B
YAML

language: cpp
cache: apt
env:
- QT=qt55
branches:
only:
- 'master'
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- sudo apt-get -qq update
- sudo apt-get -qq install libssl-dev pkg-config libhunspell-dev
- if [[ "$QT" == "qt55" ]]; then sudo apt-add-repository -y ppa:beineri/opt-qt55; sudo apt-get update -qq; sudo apt-get install -qq qt55tools qt55script qt55webengine qt55webchannel; fi
script:
- QMAKE="qmake"
- if [[ "$QT" == "qt55" ]]; then QMAKE="/opt/qt55/bin/qmake"; fi
- $QMAKE
- $QMAKE QMAKE_CXXFLAGS+="-Wextra -Werror"
- make || exit 1
# - cd scripts && ./run_tests.sh $QMAKE