This repository serves as a model for others to start using EMake to kick off tests on a service like Travis CI.
.travis.yml
- This is the Travis CI configuration file. Refer to
its documentation for more information there, but
note that we can test on multiple versions of Emacs
thanks to the
install-emacs
script. Makefile
- This file handles retrieving the
emake.el
script as well as calling EMake to perform various tasks. See that file for details. sample.el
- This is an example project file.
test-buttercup.el
- This is an example test file using the Buttercup behavior-driven testing framework available on MELPA.
test/sample.el
- This is an example test file using the ERT unit testing framework available in Emacs.
Normally, I would’ve included test-buttercup.el
in the test/
directory, but the describe
macro Buttercup defines is not defined
during ERT-based testing and will cause that script to fail. ERT and
Buttercup won’t normally be used together, but it is possible. Refer
to the EMake documentation if you want to do this.