aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Albinus2019-01-08 09:21:07 +0100
committerMichael Albinus2019-01-08 09:21:07 +0100
commit2f947ecafd5135c550b8f69c04d93348eed8f142 (patch)
tree631802f447fa2485979a7f3f2a30b39a1ef54594
parentebd5b5a41380eae81dd430e2721ea27102fe8b6a (diff)
downloademacs-2f947ecafd5135c550b8f69c04d93348eed8f142.tar.gz
emacs-2f947ecafd5135c550b8f69c04d93348eed8f142.zip
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.
-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 @@
22# evaluation purposes, thus possibly temporary. 22# evaluation purposes, thus possibly temporary.
23 23
24# Maintainer: tzz@lifelogs.com 24# Maintainer: tzz@lifelogs.com
25# URL: https://gitlab.com/emacs-ci/emacs 25# URL: https://emba.gnu.org/emacs/emacs
26 26
27image: debian:stretch 27image: debian:stretch
28 28
29variables:
30 GIT_STRATEGY: fetch
31 EMACS_EMBA_CI: 1
32
29before_script: 33before_script:
30 - apt update -qq 34 - apt update -qq
31 - 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 35 - 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
32 36
33stages: 37stages:
34 - test 38 - test
35 39
36test: 40test-all:
41 # This tests also file monitor libraries inotify and inotifywatch.
37 stage: test 42 stage: test
38 variables:
39 EMACS_EMBA_CI: 1
40 script: 43 script:
44 - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 inotify-tools
41 - ./autogen.sh autoconf 45 - ./autogen.sh autoconf
42 - ./configure --without-makeinfo 46 - ./configure --without-makeinfo
43 - make check 47 - make bootstrap
48 - make check-expensive
49
50test-filenotify-gio:
51 stage: test
52 # This tests file monitor libraries gfilemonitor and gio.
53 only:
54 changes:
55 - .gitlab-ci.yml
56 - lisp/filenotify.el
57 - lisp/net/tramp-sh.el
58 - src/gfilenotify.c
59 - test/lisp/filenotify-tests.el
60 script:
61 - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libglib2.0-dev libglib2.0-bin libglib2.0-0
62 - ./autogen.sh autoconf
63 - ./configure --without-makeinfo --with-file-notification=gfile
64 - make bootstrap
65 - make -C test filenotify-tests