1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-11 01:22:10 +01:00

Travis: Fix package names for Qt 5.5

This commit is contained in:
David Rosca 2015-05-23 00:05:49 +02:00
parent 645dd3b825
commit a601223d15

View File

@ -2,7 +2,7 @@ language: cpp
cache: apt cache: apt
env: env:
- QT=qt54 - QT=qt55
branches: branches:
only: only:
@ -15,11 +15,11 @@ before_install:
install: install:
- sudo apt-get -qq update - sudo apt-get -qq update
- sudo apt-get -qq install libssl-dev pkg-config libhunspell-dev - sudo apt-get -qq install libssl-dev pkg-config libhunspell-dev
- if [[ "$QT" == "qt54" ]]; then sudo apt-add-repository -y ppa:beineri/opt-qt55-beta-trusty; sudo apt-get update -qq; sudo apt-get install -qq qt54tools qt54script qt54webengine qt54webchannel; fi - 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
script: script:
- QMAKE="qmake" - QMAKE="qmake"
- if [[ "$QT" == "qt54" ]]; then QMAKE="/opt/qt54/bin/qmake"; fi - if [[ "$QT" == "qt55" ]]; then QMAKE="/opt/qt55/bin/qmake"; fi
- $QMAKE - $QMAKE
# - $QMAKE QMAKE_CXXFLAGS+="-Wextra -Werror" # - $QMAKE QMAKE_CXXFLAGS+="-Wextra -Werror"
- make || exit 1 - make || exit 1