Update .travis.yml

This commit is contained in:
newsages 2016-03-31 03:03:50 +02:00
parent 400f7f4146
commit 235f26f6f8

View File

@ -7,20 +7,15 @@ sudo: required
dist: trusty
env:
- QT_BASE=54
- QT_BASE=55
- QT_BASE=56
before_install:
- if [ "$QT_BASE" = "54" ]; then sudo add-apt-repository ppa:beineri/opt-qt542-trusty -y; fi
- if [ "$QT_BASE" = "55" ]; then sudo add-apt-repository ppa:beineri/opt-qt551-trusty -y; fi
- if [ "$QT_BASE" = "56" ]; then sudo add-apt-repository ppa:beineri/opt-qt56-trusty -y; fi
- sudo apt-get update -qq
install:
- if [ "$QT_BASE" = "54" ]; then sudo apt-get install -qq qt54base; source /opt/qt54/bin/qt54-env.sh; fi
- if [ "$QT_BASE" = "55" ]; then sudo apt-get install -qq qt55base; source /opt/qt55/bin/qt55-env.sh; fi
- if [ "$QT_BASE" = "56" ]; then sudo apt-get install -qq qt56base; source /opt/qt56/bin/qt56-env.sh; fi
- if [ "$QT_BASE" = "56" ]; then sudo apt-get install -qq qt56base qt56script; source /opt/qt56/bin/qt56-env.sh; fi
script:
- qmake -r