From 400f7f41467bb14fc5da5d06510423434dd84bea Mon Sep 17 00:00:00 2001 From: newsages Date: Thu, 31 Mar 2016 02:53:07 +0200 Subject: [PATCH] Create .travis.yml --- .travis.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .travis.yml 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