[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] scratch/albinus da844d0: Adapt .gitlab-ci.yml
From: |
Michael Albinus |
Subject: |
[Emacs-diffs] scratch/albinus da844d0: Adapt .gitlab-ci.yml |
Date: |
Mon, 7 Jan 2019 04:16:49 -0500 (EST) |
branch: scratch/albinus
commit da844d02fd2e851479bbd106735142c7c9557e5f
Author: Michael Albinus <address@hidden>
Commit: Michael Albinus <address@hidden>
Adapt .gitlab-ci.yml
* .gitlab-ci.yml (variables): Move outside jobs. Use
"GIT_STRATEGY: fetch".
(stages): Declare test-all and test-filenotify-gio.
(test-all): Rename from "test". Install and remove inotify-tools.
Call "make check-expensive".
(test-filenotify-gio): New job.
---
.gitlab-ci.yml | 43 ++++++++++++++++++++++++++++++++++++-------
1 file changed, 36 insertions(+), 7 deletions(-)
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 190a42b..f427e85 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,23 +22,52 @@
# evaluation purposes, thus possibly temporary.
# Maintainer: address@hidden
-# URL: https://gitlab.com/emacs-ci/emacs
+# URL: https://emba.gnu.org/emacs/emacs
image: debian:stretch
+variables:
+ GIT_STRATEGY: fetch
+ EMACS_EMBA_CI: 1
+
before_script:
- apt update -qq
- - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq
-o=Dpkg::Use-Pty=0 libc-dev gcc make autoconf automake libncurses-dev
gnutls-dev git inotify-tools
+ - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y >
+ -qq -o=Dpkg::Use-Pty=0 libc-dev gcc make autoconf automake libncurses-dev >
+ gnutls-dev git
stages:
- - test
+ - test-all
+ - test-filenotify-gio
-test:
- stage: test
- variables:
- EMACS_EMBA_CI: 1
+test-all:
+ stage: test-all
script:
+ - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y >
+ -qq -o=Dpkg::Use-Pty=0 inotify-tools
- ./autogen.sh autoconf
- ./configure --without-makeinfo
- make bootstrap
+ - make check-expensive
+ after_script:
+ - DEBIAN_FRONTEND=noninteractive apt remove --no-install-recommends -y >
+ -qq -o=Dpkg::Use-Pty=0 inotify-tools
+
+test-filenotify-gio:
+ stage: test-filenotify-gio
+ when: always
+ only:
+ changes:
+ - .gitlab-ci.yml
+ - lisp/filenotify.el
+ - test/lisp/filenotify-tests.el
+ script:
+ - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y >
+ -qq -o=Dpkg::Use-Pty=0 libglib2.0-bin
+ - ./autogen.sh autoconf
+ - ./configure --without-makeinfo --with-file-notification=gfile
+ - make bootstrap
- make -C test filenotify-tests
+ after_script:
+ - DEBIAN_FRONTEND=noninteractive apt remove --no-install-recommends -y >
+ -qq -o=Dpkg::Use-Pty=0 libglib2.0-bin
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] scratch/albinus da844d0: Adapt .gitlab-ci.yml,
Michael Albinus <=