2015-01-27 12:29:17 +01:00
|
|
|
language: cpp
|
|
|
|
cache: apt
|
|
|
|
|
|
|
|
env:
|
2015-05-23 00:05:49 +02:00
|
|
|
- QT=qt55
|
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
|
|
|
|
- sudo apt-get -qq install libssl-dev pkg-config libhunspell-dev
|
2015-05-23 00:05:49 +02:00
|
|
|
- if [[ "$QT" == "qt55" ]]; then sudo apt-add-repository -y ppa:beineri/opt-qt55-beta-trusty; sudo apt-get update -qq; sudo apt-get install -qq qt55tools qt55script qt55webengine qt55webchannel; fi
|
2015-01-27 12:29:17 +01:00
|
|
|
|
|
|
|
script:
|
|
|
|
- QMAKE="qmake"
|
2015-05-23 00:05:49 +02:00
|
|
|
- if [[ "$QT" == "qt55" ]]; then QMAKE="/opt/qt55/bin/qmake"; fi
|
2015-01-27 12:35:00 +01:00
|
|
|
- $QMAKE
|
2015-01-27 11:40:32 +01:00
|
|
|
# - $QMAKE QMAKE_CXXFLAGS+="-Wextra -Werror"
|
2015-01-27 12:29:17 +01:00
|
|
|
- make || exit 1
|
2015-01-27 11:40:32 +01:00
|
|
|
# - cd scripts && ./run_tests.sh $QMAKE
|