From 6c8fa1b4961e279ae63130902996c5f71a2e64e4 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sat, 25 Apr 2020 12:05:31 -0400 Subject: 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. --- .travis.yml | 34 +++++++++++++++++----------------- 1 file 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 -- cgit v1.2.3