From 12d1091a49aaa296075cedd876fd248450690ce5 Mon Sep 17 00:00:00 2001 From: Edwin Hoogerbeets Date: Mon, 7 Jan 2019 09:05:31 -0800 Subject: [PATCH 1/2] Start to use Sauce Labs for cross-browser automated testing --- .travis.yml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 0f2db6970e..c4bf96d12b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,24 +8,25 @@ env: - CXX=g++-4.8 before_install: # Qt - - sudo apt-add-repository --yes ppa:beineri/opt-qt551-trusty - - sudo apt-get update -qq + #- sudo apt-add-repository --yes ppa:beineri/opt-qt551-trusty + #- sudo apt-get update -qq - export TZ=America/Los_Angeles + - export MYIP=$(dig -4 @resolver1.opendns.com ANY myip.opendns.com +short) install: # Qt - - sudo apt-get -y install qt55[QTPACKAGE] - - sudo apt-get -y install qmlscene qt5-default qtdeclarative5-dev qtbase5-dev + #- sudo apt-get -y install qt55[QTPACKAGE] + #- sudo apt-get -y install qmlscene qt5-default qtdeclarative5-dev qtbase5-dev - rm -rf node_modules - npm install - export PATH=$PWD/node_modules/.bin:$PATH - export NODE_OPTIONS="--max-old-space-size=3072" script: # [Error] module QtQuick is not installed - - source /opt/qt55/bin/qt55-env.sh + #- source /opt/qt55/bin/qt55-env.sh # [Error] [exec] QXcbConnection: Could not connect to display - - export QT_QPA_PLATFORM=offscreen + #- export QT_QPA_PLATFORM=offscreen # [Error] QFontDatabase: Cannot find font directory /usr/lib/x86_64-linux-gnu/fonts - is Qt installed correctly? - - sudo ln -s /usr/share/fonts /usr/lib/x86_64-linux-gnu/fonts + #- sudo ln -s /usr/share/fonts /usr/lib/x86_64-linux-gnu/fonts # iLib full build / Run nodeunit tests - ant clean test @@ -37,5 +38,10 @@ branches: only: - master - development +addons: + sauce_connect: + username: ehoogerbeets@gmail.com + jwt: + secure: sudo: required dist: trusty From 7d95c40eff033d8d410a857cd9c048144114b1a4 Mon Sep 17 00:00:00 2001 From: Edwin Hoogerbeets Date: Mon, 7 Jan 2019 09:47:14 -0800 Subject: [PATCH 2/2] Don't do qt stuff by default in the export target --- qt/build.xml | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/qt/build.xml b/qt/build.xml index 2a30e84cff..56ab2c20cf 100644 --- a/qt/build.xml +++ b/qt/build.xml @@ -101,7 +101,10 @@ limitations under the License. - + + + + @@ -148,7 +151,7 @@ limitations under the License. - + @@ -161,7 +164,7 @@ limitations under the License. - + @@ -174,7 +177,7 @@ limitations under the License. - + @@ -187,7 +190,7 @@ limitations under the License. - + @@ -200,7 +203,7 @@ limitations under the License. - + @@ -213,7 +216,7 @@ limitations under the License. - + @@ -226,7 +229,7 @@ limitations under the License. - + @@ -239,7 +242,7 @@ limitations under the License. - + @@ -252,7 +255,7 @@ limitations under the License. - + @@ -265,7 +268,7 @@ limitations under the License. - + @@ -278,7 +281,7 @@ limitations under the License. - + @@ -291,7 +294,7 @@ limitations under the License. - + @@ -304,7 +307,7 @@ limitations under the License. - + @@ -317,7 +320,7 @@ limitations under the License. - +