- 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-all
- - test-filenotify-gio
+ - test
test-all:
- stage: test-all
+ stage: test
script:
- DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 inotify-tools
- ./autogen.sh autoconf
- DEBIAN_FRONTEND=noninteractive apt remove --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 inotify-tools
test-filenotify-gio:
- stage: test-filenotify-gio
+ stage: test
when: always
only:
changes:
- lisp/filenotify.el
- test/lisp/filenotify-tests.el
script:
- - DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libglib2.0-bin
+ - 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
after_script:
- - DEBIAN_FRONTEND=noninteractive apt remove --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libglib2.0-bin
+ - DEBIAN_FRONTEND=noninteractive apt remove --no-install-recommends -y -qq -o=Dpkg::Use-Pty=0 libglib2.0-dev libglib2.0-bin libglib2.0-0