Use an env matrix and Flycheck's emacs-travis project to install and test against multiple Emacs versions (currently 24.3, 24.5, 25.1, and the latest development snapshot). --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+)
diff --git a/.travis.yml b/.travis.yml index 8b71568d..5ee6a6cc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,12 @@ language: c dist: trusty sudo: false +env: + - EMACS_VERSION=24.3 + - EMACS_VERSION=24.5 + - EMACS_VERSION=25.1 + - EMACS_VERSION=snapshot + addons: apt: packages: @@ -15,6 +21,12 @@ addons: - gpgsm script: + # Configure and install Emacs (according to $EMACS_VERSION) + - export PATH="$HOME/bin:$PATH" + - wget 'https://raw.githubusercontent.com/flycheck/emacs-travis/master/emacs-travis.mk' + - make -f emacs-travis.mk install_emacs + - emacs --version + - ./configure - make download-test-databases - make test -- 2.13.3 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch