stages:
- test
-# FIXME: Commented for this branch till is known to be broken.
-# test-all:
-# # This tests also file monitor libraries inotify and inotifywatch.
-# stage: test
-# only:
-# changes:
-# - "Makefile.in"
-# - .gitlab-ci.yml
-# - aclocal.m4
-# - autogen.sh
-# - configure.ac
-# - lib/*.{h,c}
-# - lisp/*.el
-# - lisp/**/*.el
-# - src/*.{h,c}
-# - test/lisp/*.el
-# - test/lisp/**/*.el
-# - test/src/*.el
-# except:
-# changes:
-# # gfilemonitor, kqueue
-# - src/gfilenotify.c
-# - src/kqueue.c
-# # MS Windows
-# - lisp/w32*.el
-# - lisp/term/w32*.el
-# - src/w32*.{h,c}
-# # GNUstep
-# - lisp/term/ns-win.el
-# - src/ns*.{h,m}
-# - src/macfont.{h,m}
-# 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
+test-all:
+ # This tests also file monitor libraries inotify and inotifywatch.
+ stage: test
+ only:
+ changes:
+ - "Makefile.in"
+ - .gitlab-ci.yml
+ - aclocal.m4
+ - autogen.sh
+ - configure.ac
+ - lib/*.{h,c}
+ - lisp/*.el
+ - lisp/**/*.el
+ - src/*.{h,c}
+ - test/lisp/*.el
+ - test/lisp/**/*.el
+ - test/src/*.el
+ except:
+ changes:
+ # gfilemonitor, kqueue
+ - src/gfilenotify.c
+ - src/kqueue.c
+ # MS Windows
+ - lisp/w32*.el
+ - lisp/term/w32*.el
+ - src/w32*.{h,c}
+ # GNUstep
+ - lisp/term/ns-win.el
+ - src/ns*.{h,m}
+ - src/macfont.{h,m}
+ 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
test-filenotify-gio:
stage: test
# This tests file monitor libraries gfilemonitor and gio.
-
- ## Commented to keep stock bootstrap tested.
- # only:
- # changes:
- # - .gitlab-ci.yml
- # - lisp/autorevert.el
- # - lisp/filenotify.el
- # - lisp/net/tramp-sh.el
- # - src/gfilenotify.c
- # - test/lisp/autorevert-tests.el
- # - test/lisp/filenotify-tests.el
+ only:
+ changes:
+ - .gitlab-ci.yml
+ - lisp/autorevert.el
+ - lisp/filenotify.el
+ - lisp/net/tramp-sh.el
+ - src/gfilenotify.c
+ - test/lisp/autorevert-tests.el
+ - 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