Ver código fonte

Make sure tests are run with un-compiled files

This is needed to make undercover.el work
Ryan C. Thompson 7 anos atrás
pai
commit
98e46e9096
2 arquivos alterados com 4 adições e 1 exclusões
  1. 1 0
      .travis.yml
  2. 3 1
      Makefile

+ 1 - 0
.travis.yml

@@ -32,4 +32,5 @@ before_script:
   - cask install
 
 script:
+  - make compile
   - make test

+ 3 - 1
Makefile

@@ -6,7 +6,9 @@ ELC_FILES := $(patsubst %.el,%.elc,$(ELISP_FILES))
 
 all: test
 
-test: compile
+# We run clean-elc because undercover.el doesn't support elc files
+test:
+	cask clean-elc
 	cask exec buttercup -L .
 
 compile: $(ELC_FILES)