forked from seagle0128/.emacs.d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (32 loc) · 1.17 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
language: emacs-lisp
sudo: false
env:
- EVM_EMACS=emacs-25.3-travis
- EVM_EMACS=emacs-26.2-travis
- EVM_EMACS=emacs-git-snapshot-travis
matrix:
fast_finish: true
allow_failures:
env:
- EVM_EMACS=emacs-git-snapshot-travis
before_script:
- mv -f ../.emacs.d ~/.emacs.d
- curl -fsSkL https://gist.github.com/rejeep/ebcd57c3af83b049833b/raw > x.sh && source ./x.sh
- evm install $EVM_EMACS --use --skip
# - mkdir -p lib && curl https://raw.githubusercontent.com/nschum/elisp-lint/stable/elisp-lint.el > lib/elisp-lint.el
script:
- ${EMACS:=emacs} --version
- echo "Attempting startup..."
- ${EMACS:=emacs} -nw --batch --eval
'(let ((debug-on-error (>= emacs-major-version 26))
(url-show-status nil)
(user-emacs-directory default-directory)
(early-init-file (expand-file-name "early-init.el"))
(user-init-file (expand-file-name "init.el"))
(load-path (delq default-directory load-path)))
(when (>= emacs-major-version 27) (load-file early-init-file))
(load-file user-init-file)
(when (>= emacs-major-version 26)
(run-hooks (quote after-init-hook))
(run-hooks (quote emacs-startup-hook))))'
- echo "Startup successful"