Skip to content

Commit ef75eab

Browse files
committed
fix test run for Emacs 24.5 on travis
1 parent 9f7f246 commit ef75eab

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ otp_release:
44
- 18.0
55
cache: apt
66
env:
7-
- EVM_EMACS=emacs-24.3-bin
8-
- EVM_EMACS=emacs-24.4-bin
9-
- EVM_EMACS=emacs-24.5-bin
7+
- EVM_EMACS=emacs-24.3-bin TEST_RUN="rake test"
8+
- EVM_EMACS=emacs-24.4-bin TEST_RUN="rake test"
9+
- EVM_EMACS=emacs-24.5-bin TEST_RUN="rake test-no-gui"
1010
before_install:
1111
- curl -fsSkL https://gist.githubusercontent.com/tonini/09a8bec7a0b2c219e0d7/raw > travis.sh && source ./travis.sh
1212
- evm install $EVM_EMACS --use --skip
1313
- cask
1414
install:
1515
- cask install
1616
script:
17-
- rake test
17+
- $TEST_RUN

test/elixir-mode-font-test.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88

99
;;; Code:
1010

11+
(require 'test-helper)
12+
1113
(defun elixir-test-face-at (pos &optional content)
1214
"Get the face at POS in CONTENT.
1315

test/elixir-mode-indentation-test.el

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99

1010
;;; Code:
1111

12+
(require 'test-helper)
13+
1214
(elixir-def-indentation-test indent-use-dot-module-newline
1315
(:tags '(indentation))
1416
"defmodule Foo do

0 commit comments

Comments
 (0)