Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
sakia
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
clients
python
sakia
Commits
b9d323ba
Commit
b9d323ba
authored
9 years ago
by
inso
Browse files
Options
Downloads
Patches
Plain Diff
Fix travis build
parent
24f043f4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci/travis/before_install.sh
+7
-3
7 additions, 3 deletions
ci/travis/before_install.sh
ci/travis/qt-installer-noninteractive.qs
+56
-0
56 additions, 0 deletions
ci/travis/qt-installer-noninteractive.qs
with
63 additions
and
3 deletions
ci/travis/before_install.sh
+
7
−
3
View file @
b9d323ba
...
@@ -11,13 +11,15 @@ then
...
@@ -11,13 +11,15 @@ then
brew
install
pyenv-virtualenv
brew
install
pyenv-virtualenv
elif
[
$TRAVIS_OS_NAME
==
"linux"
]
elif
[
$TRAVIS_OS_NAME
==
"linux"
]
then
then
wget https://download.qt.io/official_releases/qt/5.5/5.5.1/qt-opensource-linux-x64-5.5.1.run
chmod
+x qt-unified-linux-x64-online.run
./qt-unified-linux-x64-online.run
--script
qt-installer-non-interactive.qs
sudo
apt-get update
sudo
apt-get update
sudo
apt-get
install
-qq
-y
libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0
\
sudo
apt-get
install
-qq
-y
libxcb1 libxcb1-dev libx11-xcb1 libx11-xcb-dev libxcb-keysyms1 libxcb-keysyms1-dev libxcb-image0
\
libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 libxcb-icccm4-dev
\
libxcb-image0-dev libxcb-shm0 libxcb-shm0-dev libxcb-icccm4 libxcb-icccm4-dev
\
libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0
\
libxcb-xfixes0-dev libxrender-dev libxcb-shape0-dev libxcb-randr0-dev libxcb-render-util0
\
libxcb-render-util0-dev libxcb-glx0-dev libgl1-mesa-dri libegl1-mesa libpcre3-dev
\
libxcb-render-util0-dev libxcb-glx0-dev libgl1-mesa-dri libegl1-mesa libpcre3-dev
\
curl qt5-qmake qtbase5-dev qttools5-dev-tools libqt5svg5-dev libqt5webkit5-dev
\
curl libdbus-1-dev libdbus-glib-1-dev autoconf automake libtool
libdbus-1-dev libdbus-glib-1-dev autoconf automake libtool
wget http://archive.ubuntu.com/ubuntu/pool/universe/libs/libsodium/libsodium13_1.0.1-1_amd64.deb
wget http://archive.ubuntu.com/ubuntu/pool/universe/libs/libsodium/libsodium13_1.0.1-1_amd64.deb
sudo
dpkg
-i
libsodium13_1.0.1-1_amd64.deb
sudo
dpkg
-i
libsodium13_1.0.1-1_amd64.deb
curl
-L
https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
curl
-L
https://raw.githubusercontent.com/yyuu/pyenv-installer/master/bin/pyenv-installer | bash
...
@@ -65,15 +67,17 @@ then
...
@@ -65,15 +67,17 @@ then
--enable
QtGui
\
--enable
QtGui
\
--enable
QtSvg
\
--enable
QtSvg
\
--enable
QtWebKitWidgets
\
--enable
QtWebKitWidgets
\
--enable
QtNetwork
\
--enable
QtTest
--enable
QtTest
elif
[
$TRAVIS_OS_NAME
==
"linux"
]
elif
[
$TRAVIS_OS_NAME
==
"linux"
]
then
then
python configure.py
--qmake
"/
usr/lib/x86_64-linux-gnu/qt5
/bin/qmake"
--confirm-license
\
python configure.py
--qmake
"/
tmp/qt/5.5/5.5/gcc_64
/bin/qmake"
--confirm-license
\
--enable
QtCore
\
--enable
QtCore
\
--enable
QtWidgets
\
--enable
QtWidgets
\
--enable
QtGui
\
--enable
QtGui
\
--enable
QtSvg
\
--enable
QtSvg
\
--enable
QtWebKitWidgets
\
--enable
QtWebKitWidgets
\
--enable
QtNetwork
\
--enable
QtTest
--enable
QtTest
fi
fi
...
...
This diff is collapsed.
Click to expand it.
ci/travis/qt-installer-noninteractive.qs
0 → 100644
+
56
−
0
View file @
b9d323ba
// Emacs mode hint: -*- mode: JavaScript -*-
function Controller() {
installer.autoRejectMessageBoxes();
installer.installationFinished.connect(function() {
gui.clickButton(buttons.NextButton);
})
}
Controller.prototype.WelcomePageCallback = function() {
gui.clickButton(buttons.NextButton);
}
Controller.prototype.CredentialsPageCallback = function() {
gui.clickButton(buttons.NextButton);
}
Controller.prototype.IntroductionPageCallback = function() {
gui.clickButton(buttons.NextButton);
}
Controller.prototype.TargetDirectoryPageCallback = function()
{
gui.currentPageWidget().TargetDirectoryLineEdit.setText("/tmp/qt/5.5.1");
gui.clickButton(buttons.NextButton);
}
Controller.prototype.ComponentSelectionPageCallback = function() {
//var widget = gui.currentPageWidget();
//widget.selectAll();
gui.clickButton(buttons.NextButton);
}
Controller.prototype.LicenseAgreementPageCallback = function() {
gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true);
gui.clickButton(buttons.NextButton);
}
Controller.prototype.StartMenuDirectoryPageCallback = function() {
gui.clickButton(buttons.NextButton);
}
Controller.prototype.ReadyForInstallationPageCallback = function()
{
gui.clickButton(buttons.NextButton);
}
Controller.prototype.FinishedPageCallback = function() {
var checkBoxForm = gui.currentPageWidget().LaunchQtCreatorCheckBoxForm
if (checkBoxForm && checkBoxForm.launchQtCreatorCheckBox) {
checkBoxForm.launchQtCreatorCheckBox.checked = false;
}
gui.clickButton(buttons.FinishButton);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment