Create .travis.yml

This commit is contained in:
newsages 2016-03-31 02:53:07 +02:00
parent adcac14617
commit 400f7f4146

31
.travis.yml Normal file
View File

@ -0,0 +1,31 @@
language: cpp
compiler:
- gcc
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
script:
- qmake -r
- make
- make check
notifications:
email: false