Skip to content

Commit ee813a0

Browse files
committed
Make sure test suite does not contaminate ~/.emacs.d/
1 parent 3f894fd commit ee813a0

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ before_install:
3535
# but to separate installation phase and testing phase:
3636
- make deps
3737
script:
38-
- make test
38+
- make travis-ci

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ELPA_DIR = \
77
.cask/$(shell ${EMACS} -Q --batch --eval '(princ emacs-version)')/elpa
88
# See: cask-elpa-dir
99

10-
.PHONY: test deps clean purge
10+
.PHONY: test deps clean purge travis-ci
1111

1212
test: deps
1313
${EMACS_TEST} --batch -f ert-run-tests-batch-and-exit
@@ -26,3 +26,6 @@ clean:
2626

2727
purge: clean
2828
rm -rf ${ELPA_DIR}
29+
30+
travis-ci: test
31+
test ! -d ~/.emacs.d/.python-environments

0 commit comments

Comments
 (0)