Skip to content

Commit

Permalink
Add undercover.el support.
Browse files Browse the repository at this point in the history
  • Loading branch information
vibhavp committed Apr 13, 2019
1 parent 2ae2aaf commit dbb11e1
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ install:
- sudo pip install python-language-server
script:
- cask build
- cask clean-elc
- cask exec ert-runner -t "!no-win"
- cask exec ecukes

after_success:
- bash <(curl -s https://codecov.io/bash)
notifications:
webhooks:
urls:
Expand Down
3 changes: 2 additions & 1 deletion Cask
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,5 @@
(development
(depends-on "ert-runner")
(depends-on "espuds")
(depends-on "ecukes"))
(depends-on "ecukes")
(depends-on "undercover"))
3 changes: 3 additions & 0 deletions features/support/env.el
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
(require 'f)

(when (require 'undercover nil t)
(undercover "*.el"))

(defvar lsp-mode-support-path
(f-dirname load-file-name))

Expand Down
8 changes: 7 additions & 1 deletion test/test-helper.el
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,13 @@

;;; Code:

(require 'f)

(setq safe-local-variable-values
'((flycheck-disabled-checkers emacs-lisp-checkdoc)))


(when (require 'undercover nil t)
(undercover "*.el" (:report-type :codecov)))

(add-to-list 'load-path
(file-name-as-directory (f-parent (f-parent (f-this-file)))))
Expand Down

0 comments on commit dbb11e1

Please sign in to comment.