Created
February 26, 2013 11:19
-
-
Save sigma/5037781 to your computer and use it in GitHub Desktop.
template for tox-based testing for emacs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from distutils.core import setup | |
setup(name="magit", | |
version='0', | |
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[tox] | |
envlist = | |
emacs23,emacs24,emacs-snapshot | |
[testenv] | |
deps = | |
virtualenv-emacs | |
[testenv:emacs23] | |
commands = | |
virtualenv_install_emacs --with-emacs="{env:EMACS23}" --with-env={envdir} --marmalade | |
elpa-get mocker cl-lib | |
make test | |
[testenv:emacs24] | |
commands = | |
virtualenv_install_emacs --with-emacs="{env:EMACS24}" --with-env={envdir} --marmalade | |
elpa-get mocker cl-lib | |
make test | |
[testenv:emacs-snapshot] | |
commands = | |
virtualenv_install_emacs --with-emacs="{env:EMACSSNAPSHOT}" --with-env={envdir} --marmalade | |
elpa-get mocker cl-lib | |
make test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just noticed that the problem is byte-compilation. It would be nice if there is a script to install the project (e.g., magit) under virtualenv. This way you don't suffer from incompatible byte compiled files.