Travis CI recipe for Emacs libraries.
Add the included .travis.yml and Makefile to your Emacs project on GitHub.
make testtarget to your taste.
Create an account on http://travis-ci.org, and follow the instructions there to enable builds.
Edit travis_grid.pl to match your account if desired.
[![Build Status](https://secure.travis-ci.org/my-github-id/my-library.png?branch=master,staging,production)](http://travis-ci.org/my-github-id/my-library)to your Markdown README file.
The .travis.yml file included here supports
Emacs 22 Emacs 23 Emacs 24 (stable) Emacs 24 (snapshot)
By default, the Emacs 23 and 24 environments are expected to build and test
your library successfully. Emacs 22 and Emacs 24 (snapshot) are permitted
to fail. See the
allow_failures: section to change this.
It is not required to use the included example Makefile, but the .travis.yml
file expects working targets for
make test and
make downloads. (The
downloads target fetches dependencies needed to run tests.) You must
- provide these targets, or
- replace the
makecommands in .travis.yml with new build/test commands. See the
before-scriptmay be removed entirely.
An XEmacs 21 runtime is also included, but commented out. The included Makefile and test frameworks are also not compatible with XEmacs.