Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

117 lines (100 sloc) 2.556 kb
###
### Notes
###
### The travis web interface may choke silently and fail to
### update when there are issues with the .travis.yml file.
###
### The "travis-lint" command-line tool does not catch all
### errors which may lead to silent failure.
###
### Shell-style comments must have "#" as the first character
### of the line.
###
###
### language
###
# travis-lint no longer permits this value
# language: emacs-lisp
###
### defining the build matrix
###
### ===> <===
### ===> each variation in env/matrix will be built and tested <===
### ===> <===
###
### variables under env/global are available to the build process
### but don't cause the creation of a separate variation
###
env:
matrix:
- EMACS=emacs24
- EMACS=emacs-snapshot
global:
- SOME_TOKEN=some_value
###
### allowing failures
###
matrix:
allow_failures:
- env: EMACS=emacs-snapshot
###
### limit build attempts to defined branches
###
# branches:
# only:
# - master
###
### runtime initialization
###
### notes
###
### emacs24 (current stable release) is obtained from the
### cassou PPA: http://launchpad.net/~cassou/+archive/emacs
###
### emacs-snapshot (trunk) is obtained from the Ubuntu Emacs Lisp PPA:
### https://launchpad.net/~ubuntu-elisp/+archive/ppa
### For the emacs-snapshot build, bleeding-edge versions
### of all test dependencies are also used.
###
before_install:
- git submodule --quiet update --init --recursive
install:
- if [ "$EMACS" = 'emacs24' ]; then
sudo add-apt-repository -y ppa:cassou/emacs &&
sudo apt-get -qq update &&
sudo apt-get -qq -f install &&
sudo apt-get -qq install emacs24 emacs24-el;
fi
- if [ "$EMACS" = 'emacs-snapshot' ]; then
sudo add-apt-repository -y ppa:ubuntu-elisp/ppa &&
sudo apt-get -qq update &&
sudo apt-get -qq -f install &&
sudo apt-get -qq install emacs-snapshot &&
sudo apt-get -qq install emacs-snapshot-el;
fi
before_script:
- if [ "$EMACS" = 'emacs-snapshot' ]; then
make downloads-latest;
else
make downloads;
fi
###
### the actual build/test command
###
script:
$EMACS --version && ( test "$EMACS" != "emacs22" && make test EMACS="$EMACS" || make test-batch EMACS="$EMACS" )
###
### settings
###
notifications:
email: false
#
# Emacs
#
# Local Variables:
# indent-tabs-mode: nil
# mangle-whitespace: t
# require-final-newline: t
# coding: utf-8
# End:
#
Jump to Line
Something went wrong with that request. Please try again.