Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shawn Webb
Fwupd
Commits
58de3dbe
Commit
58de3dbe
authored
Jun 14, 2017
by
Richard Hughes
Committed by
Mario Limonciello
Jun 14, 2017
Browse files
Run the installed tests in Travis CI
parent
3be2e295
Changes
5
Hide whitespace changes
Inline
Side-by-side
contrib/ci/Dockerfile-debian-experimental
View file @
58de3dbe
...
...
@@ -54,6 +54,9 @@ RUN apt-get -t experimental install -yq --no-install-recommends \
debhelper \
gir1.2-appstreamglib-1.0 \
libappstream-glib-dev
#deps needed only for installed tests
RUN apt-get install -yq --no-install-recommends \
gnome-desktop-testing dbus-x11 ca-certificates
#fix locales
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
...
...
contrib/ci/Dockerfile-debian-unstable
View file @
58de3dbe
...
...
@@ -49,6 +49,9 @@ RUN apt-get install -yq --no-install-recommends \
#deps needed only for packaged build
RUN apt-get install -yq --no-install-recommends \
git-buildpackage
#deps needed only for installed tests
RUN apt-get install -yq --no-install-recommends \
gnome-desktop-testing dbus-x11 ca-certificates
RUN mkdir /build
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
dpkg-reconfigure --frontend=noninteractive locales && \
...
...
contrib/ci/Dockerfile-fedora-25
View file @
58de3dbe
...
...
@@ -43,5 +43,12 @@ RUN dnf --enablerepo=updates-testing -y install \
valgrind \
valgrind-devel \
xz
#deps needed only for installed tests
RUN dnf --enablerepo=updates-testing -y install \
adobe-source-han-sans-cn-fonts \
ca-certificates \
dbus-x11 \
gnome-desktop-testing \
gnupg2
RUN mkdir /build
WORKDIR /build
contrib/ci/build_and_install_debs.sh
View file @
58de3dbe
...
...
@@ -12,3 +12,7 @@ dpkg-buildpackage
#test the packages install
dpkg
-i
../
*
.deb
# run the installed tests
/etc/init.d/dbus start
gnome-desktop-testing-runner fwupd
contrib/ci/build_and_install_rpms.sh
View file @
58de3dbe
...
...
@@ -35,3 +35,10 @@ rpmbuild -ba build/fwupd.spec
dnf
install
-C
-y
$HOME
/rpmbuild/RPMS/
*
/
*
.rpm
cp
$HOME
/rpmbuild/RPMS/
*
/
*
.rpm
.
# run the installed tests
mkdir
-p
/run/dbus
mkdir
-p
/var
ln
-s
/var/run /run
dbus-daemon
--system
--fork
gnome-desktop-testing-runner fwupd
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment