From 5ba7fbb7d053781ee5bf926246478463a81f841c Mon Sep 17 00:00:00 2001 From: Ben Moon Date: Mon, 19 Mar 2018 11:31:43 +0000 Subject: [PATCH] Ensure dash is made available in Travis build --- .travis.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 29f1a60..7e3d79a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,18 +15,20 @@ install: sudo add-apt-repository -y ppa:cassou/emacs && sudo apt-get -qq update && sudo apt-get -qq -f install && - sudo apt-get -qq install emacs24 emacs24-el; + sudo apt-get -qq install emacs24 emacs24-el && + wget https://raw.githubusercontent.com/magnars/dash.el/master/dash.el; fi - if [ "$EMACS" = 'emacs-snapshot' ]; then sudo add-apt-repository -y ppa:ubuntu-elisp/ppa && sudo apt-get -qq update && sudo apt-get -qq -f install && sudo apt-get -qq install emacs-snapshot && - sudo apt-get -qq install emacs-snapshot-el; + sudo apt-get -qq install emacs-snapshot-el && + wget https://raw.githubusercontent.com/magnars/dash.el/master/dash.el; fi script: - - emacs -batch -l ert -L . -L tests/ -l tests/emaps-tests.el -f ert-run-tests-batch-and-exit + - emacs -batch -l dash.el -l ert -L . -L tests/ -l tests/emaps-tests.el -f ert-run-tests-batch-and-exit notifications: email: false