1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 09:32:12 +01:00
falkonOfficial/.travis.yml

22 lines
588 B
YAML
Raw Normal View History

2014-02-01 16:48:15 +01:00
language: cpp
env:
- QT=qt4
- QT=qt5
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
2014-02-01 16:48:15 +01:00
install:
- sudo apt-get -qq update
- sudo apt-get -qq install libssl-dev pkg-config libhunspell-dev
- if [[ "$QT" == "qt4" ]]; then sudo apt-get -qq install libqt4-dev libqt4-webkit libqt4-sql-sqlite; fi
- if [[ "$QT" == "qt5" ]]; then sudo apt-get -qq install libqt5-dev; fi
2014-02-01 16:48:15 +01:00
script:
- if [[ "$QT" == "qt5" ]]; then alias qmake=`qtchooser -qt=qt5 -run-tool=qmake --help | head -n1 | cut -d" " -f2`; fi
2014-02-01 16:48:15 +01:00
- qmake
- make
- cd scripts && source run_tests.sh