From 400f7f41467bb14fc5da5d06510423434dd84bea Mon Sep 17 00:00:00 2001 From: newsages Date: Thu, 31 Mar 2016 02:53:07 +0200 Subject: [PATCH 1/3] 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 From 235f26f6f8c82970a67addb78f42f0d0222b8e26 Mon Sep 17 00:00:00 2001 From: newsages Date: Thu, 31 Mar 2016 03:03:50 +0200 Subject: [PATCH 2/3] Update .travis.yml --- .travis.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 64a4064..fabf009 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 From 37542bdc0de852a569fa7a98bb4f0de64e3b8528 Mon Sep 17 00:00:00 2001 From: newsages Date: Thu, 31 Mar 2016 03:13:15 +0200 Subject: [PATCH 3/3] Update .travis.yml --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index fabf009..141d09c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -14,7 +14,7 @@ before_install: - sudo apt-get update -qq install: - - if [ "$QT_BASE" = "56" ]; then sudo apt-get install -qq qt56base qt56script; source /opt/qt56/bin/qt56-env.sh; fi + - if [ "$QT_BASE" = "56" ]; then sudo apt-get install -qq qt56base qt56script qt56tools ; source /opt/qt56/bin/qt56-env.sh; fi script: