diff options
author | Kyle Meyer <kyle@kyleam.com> | 2020-04-25 12:05:31 -0400 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2020-04-25 12:05:31 -0400 |
commit | 6c8fa1b4961e279ae63130902996c5f71a2e64e4 (patch) | |
tree | da84119613501de59874e52c33e87a7b35a07ed0 /.travis.yml | |
parent | 8a1638888afcf4ac4022f25f8fad93be0406aaed (diff) | |
download | bog-6c8fa1b4961e279ae63130902996c5f71a2e64e4.tar.gz |
travis: Update stale setup
The last Travis run didn't get out of the setup phase:
https://travis-ci.org/github/kyleam/bog/builds/679436803
This updated .travis.yml is modified from Magit-annex's, which was
modified from Magit's.
Note that this goes from testing just Emacs 24 to testing the latest
Emacs release (26.3) and master. We could of course do more---in
terms of both Emacs and Org versions---but, given the currently
dormant state of this project, two runs with different Emacs versions
and their built-in Orgs will do.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 34 |
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 |