diff options
| author | Michael Albinus | 2019-01-08 09:21:07 +0100 |
|---|---|---|
| committer | Michael Albinus | 2019-01-08 09:21:07 +0100 |
| commit | 2f947ecafd5135c550b8f69c04d93348eed8f142 (patch) | |
| tree | 631802f447fa2485979a7f3f2a30b39a1ef54594 | |
| parent | ebd5b5a41380eae81dd430e2721ea27102fe8b6a (diff) | |
| download | emacs-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.yml | 34 |
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 | ||
| 27 | image: debian:stretch | 27 | image: debian:stretch |
| 28 | 28 | ||
| 29 | variables: | ||
| 30 | GIT_STRATEGY: fetch | ||
| 31 | EMACS_EMBA_CI: 1 | ||
| 32 | |||
| 29 | before_script: | 33 | before_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 | ||
| 33 | stages: | 37 | stages: |
| 34 | - test | 38 | - test |
| 35 | 39 | ||
| 36 | test: | 40 | test-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 | |||
| 50 | test-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 | ||