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

29 lines
741 B
Plaintext
Raw Normal View History

2016-01-16 19:51:39 +01:00
sudo: required
dist: trusty
2015-01-27 12:29:17 +01:00
language: cpp
cache: apt
env:
- QT=qt56
2015-01-27 12:29:17 +01:00
branches:
only:
- 'master'
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
install:
- sudo apt-get -qq update
2016-01-16 21:26:11 +01:00
- sudo apt-get -qq install libssl-dev pkg-config libhunspell-dev libxcb-util0-dev
2016-01-16 21:18:50 +01:00
- if [[ "$QT" == "qt56" ]]; then sudo apt-add-repository -y ppa:beineri/opt-qt56-beta-trusty; sudo apt-get update -qq; sudo apt-get install -qq qt56tools qt56script qt56webengine qt56webchannel qt56declarative qt56x11extras; fi
2015-01-27 12:29:17 +01:00
script:
- QMAKE="qmake"
- if [[ "$QT" == "qt56" ]]; then QMAKE="/opt/qt56/bin/qmake"; fi
2015-01-27 12:35:00 +01:00
- $QMAKE
2015-08-30 17:42:58 +02:00
- $QMAKE QMAKE_CXXFLAGS+="-Wextra -Werror"
2015-01-27 12:29:17 +01:00
- make || exit 1
- cd scripts && ./run_tests.sh $QMAKE