summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2019-01-08 09:21:07 +0100
committerMichael Albinus <michael.albinus@gmx.de>2019-01-08 09:21:07 +0100
commit2f947ecafd5135c550b8f69c04d93348eed8f142 (patch)
tree631802f447fa2485979a7f3f2a30b39a1ef54594 /.gitlab-ci.yml
parentebd5b5a41380eae81dd430e2721ea27102fe8b6a (diff)
downloademacs-2f947ecafd5135c550b8f69c04d93348eed8f142.tar.gz
Adapt .gitlab-ci.yml
* .gitlab-ci.yml (variables): Move outside jobs. Use "GIT_STRATEGY: fetch". (before_script): Install git. (test-all): Rename from test. Install inotify-tools. Run "make check-expensive". (test-filenotify-gio): New job.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml34
1 files changed, 28 insertions, 6 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index ff51c20726b..b022e4b8af1 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -22,22 +22,44 @@
# evaluation purposes, thus possibly temporary.
# Maintainer: tzz@lifelogs.com
-# 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
+ - 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:
+test-all:
+ # This tests also file monitor libraries inotify and inotifywatch.
stage: test
- variables:
- EMACS_EMBA_CI: 1
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 check
+ - make bootstrap
+ - make check-expensive
+
+test-filenotify-gio:
+ stage: test
+ # This tests file monitor libraries gfilemonitor and gio.
+ only:
+ changes:
+ - .gitlab-ci.yml
+ - lisp/filenotify.el
+ - lisp/net/tramp-sh.el
+ - src/gfilenotify.c
+ - test/lisp/filenotify-tests.el
+ script:
+ - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libglib2.0-dev libglib2.0-bin libglib2.0-0
+ - ./autogen.sh autoconf
+ - ./configure --without-makeinfo --with-file-notification=gfile
+ - make bootstrap
+ - make -C test filenotify-tests