From 63ed95f8f159fa3fb0e65583c97a70327e7fa668 Mon Sep 17 00:00:00 2001 From: Gracjan Polak Date: Sun, 4 Oct 2015 12:18:42 +0200 Subject: [PATCH] Upgrade to component based TravisCI builds --- .travis.yml | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1db275a30..c877181c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,7 +1,21 @@ -language: emacs-lisp +language: generic sudo: required dist: trusty +cache: + - apt + +addons: + apt: + sources: + - cassou-emacs + - ubuntu-elisp + packages: + - emacs23-nox + - emacs24-nox + - emacs-snapshot + - texinfo + env: matrix: - EMACS=emacs23 TARGET=check @@ -17,27 +31,10 @@ matrix: - EMACS=emacs-snapshot TARGET=check install: - - if [ "$EMACS" = "emacs23" ]; then - sudo apt-get update -qq && - sudo apt-get install -qq emacs23-gtk emacs23-el; - fi - - 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 emacs-snapshot-el; - fi - - if [ "$TARGET" = "deploy-manual" ]; then - sudo apt-get update -qq && - sudo apt-get install -qq texinfo; - fi script: - make $TARGET + - makeinfo --version + - make $TARGET notifications: email: false