diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..64a4064 --- /dev/null +++ b/.travis.yml @@ -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