branch: elpa/datetime
commit 0647fccb68b28f4738e0b05c490ef6534f01cd54
Author: Paul Pogonyshev <pogonys...@gmail.com>
Commit: Paul Pogonyshev <pogonys...@gmail.com>

    Use `evm' for Travis CI testing instead of hunting for PPAs.
---
 .travis.yml | 24 +++++++++++-------------
 1 file changed, 11 insertions(+), 13 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 9f92241f58..85cf983fe4 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,21 +2,19 @@
 # understood by Travis.
 language: java
 
-before_install:
-  # For Emacs 24.
-  - sudo add-apt-repository ppa:fryda.tomas/emacs -y
-  # For Emacs 25 and 26.
-  - sudo add-apt-repository ppa:kelleyk/emacs -y
-  # For snapshot builds.
-  - sudo add-apt-repository ppa:ubuntu-elisp/ppa -y
-  - sudo apt-get update -q
-  - sudo apt-get install -q -y ${EMACS}
+install:
+  - curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > 
travis.sh && source ./travis.sh
+  - evm install $EVM_EMACS --use --skip
 
+# Testing code doesn't work on pre-24.4 Emacses, even though the
+# library itself probably works on 24.x.  Don't care much.
 env:
-  - EMACS=emacs24
-  - EMACS=emacs25
-  - EMACS=emacs26
-  - EMACS=emacs-snapshot
+  - EVM_EMACS=emacs-24.4-travis
+  - EVM_EMACS=emacs-24.5-travis
+  - EVM_EMACS=emacs-25.1-travis
+  - EVM_EMACS=emacs-25.2-travis
+  - EVM_EMACS=emacs-25.3-travis
+  - EVM_EMACS=emacs-26.1-travis
 
 jdk:
   - oraclejdk9

Reply via email to