summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml34
1 files changed, 17 insertions, 17 deletions
diff --git a/.travis.yml b/.travis.yml
index 664caef..bb28881 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,24 +1,24 @@
-# Modified from
-# https://github.com/rranelli/maven-test-mode/blob/master/.travis.yml
-
-language: emacs-lisp
-
+sudo: false
+language: generic
env:
+ global:
+ - CURL="curl -fsSkL --retry 9 --retry-delay 9"
+ - GHRAW="https://raw.githubusercontent.com"
matrix:
- - EMACS=emacs24
- # - EMACS=emacs-snapshot
+ - EMACS_VERSION=26.3
+ - EMACS_VERSION=master
+ allow_failures:
+ - env: EMACS_VERSION=master
install:
- - if [ "$EMACS" = "emacs24" ]; then
- sudo add-apt-repository -y ppa:cassou/emacs &&
- sudo apt-get update -qq &&
- sudo apt-get install -qq emacs24 emacs24-el;
- fi
- - if [ "$EMACS" = "emacs-snapshot" ]; then
- sudo add-apt-repository -y ppa:ubuntu-elisp/ppa &&
- sudo apt-get update -qq &&
- sudo apt-get install -qq emacs-snapshot;
- fi
+ - $CURL -O https://github.com/npostavs/emacs-travis/releases/download/bins/emacs-bin-${EMACS_VERSION}.tar.gz
+ - tar -xaf emacs-bin-${EMACS_VERSION}.tar.gz -C /
+ - export EMACS=/tmp/emacs/bin/emacs
script:
make test EMACS=${EMACS}
+
+notifications:
+ email:
+ on_success: never
+ on_failure: always