summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMichael Albinus <michael.albinus@gmx.de>2020-08-30 14:05:55 +0200
committerMichael Albinus <michael.albinus@gmx.de>2020-08-30 14:05:55 +0200
commit6803328561956dbc42808160b3716061308411fe (patch)
treeacae2e9cdcd64c7872310bb2d7e01cba43615e81 /.gitlab-ci.yml
parentcb1563f3ca2e0d5b3a3e0384b5c76c4d47587f75 (diff)
downloademacs-6803328561956dbc42808160b3716061308411fe.tar.gz
* .gitlab-ci.yml (test-all): Run only when needed.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 913ba0fd4fa..ad01e473b4e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -40,6 +40,32 @@ stages:
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
+ - lisp/*.el
+ - lisp/**/*.el
+ - src/*.{h,m}
+ - 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,m}
+ # 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