forked from abo-abo/tiny
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Travis CI testing and Coveralls.io reporting
- Loading branch information
Showing
4 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
language: emacs-lisp | ||
before_install: | ||
# PPA for stable Emacs packages | ||
- sudo add-apt-repository -y ppa:cassou/emacs | ||
# PPA for Emacs nightlies | ||
- sudo add-apt-repository -y ppa:ubuntu-elisp/ppa | ||
# Update and install the Emacs for our environment | ||
- sudo apt-get update -qq | ||
- sudo apt-get install -qq -yy ${EMACS}-nox ${EMACS}-el | ||
# Install cask dependencies | ||
- curl -fsSLo /tmp/cask-master.zip https://github.com/cask/cask/archive/master.zip | ||
- sudo unzip -qq -d /opt /tmp/cask-master.zip | ||
- sudo ln -sf /opt/cask-master/bin/cask /usr/local/bin/cask | ||
- cask | ||
env: | ||
- EMACS=emacs24 | ||
- EMACS=emacs-snapshot | ||
script: | ||
- emacs --version | ||
- make test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
(source gnu) | ||
(source melpa) | ||
|
||
(development | ||
(depends-on "undercover")) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
EMACS ?= emacs | ||
CASK_EXEC ?= cask exec | ||
|
||
all: test | ||
|
||
test: clean-elc | ||
${MAKE} unit | ||
|
||
unit: | ||
${CASK_EXEC} ${EMACS} -Q -batch -l tiny-test.el -l tiny.el --eval "(ert t)" | ||
|
||
compile: | ||
${CASK_EXEC} ${EMACS} -Q -batch -f batch-byte-compile tiny.el | ||
|
||
clean-elc: | ||
rm -f f.elc | ||
|
||
.PHONY: all test |
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