Add travis-ci.

This commit is contained in:
Vincent Zhang 2018-07-05 15:23:44 +08:00
parent ef1762a1aa
commit 686c7f00ef
2 changed files with 25 additions and 0 deletions

24
.travis.yml Normal file
View file

@ -0,0 +1,24 @@
language: generic
sudo: false
env:
- EVM_EMACS=emacs-25.3-travis
- EVM_EMACS=emacs-26.1-travis
- EVM_EMACS=emacs-git-snapshot-travis
matrix:
fast_finish: true
allow_failures:
env:
- EVM_EMACS=emacs-git-snapshot-travis
before_script:
- pwd
- 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 --version
- pwd
- emacs --batch -f batch-byte-compile ../doom-modeline/doom-modeline.el

View file

@ -1,5 +1,6 @@
# doom-modeline # doom-modeline
[![Build Status](https://travis-ci.org/seagle0128/doom-modeline.svg?branch=master)](https://travis-ci.org/seagle0128/doom-modeline)
[![MELPA](https://melpa.org/packages/doom-modeline-badge.svg)](https://melpa.org/#/doom-modeline) [![MELPA](https://melpa.org/packages/doom-modeline-badge.svg)](https://melpa.org/#/doom-modeline)
[![MELPA Stable](https://stable.melpa.org/packages/doom-modeline-badge.svg)](https://stable.melpa.org/#/doom-modeline) [![MELPA Stable](https://stable.melpa.org/packages/doom-modeline-badge.svg)](https://stable.melpa.org/#/doom-modeline)
[![Release Tag](https://img.shields.io/github/tag/seagle0128/doom-modeline.svg?label=release)](https://github.com/seagle0128/doom-modeline/releases) [![Release Tag](https://img.shields.io/github/tag/seagle0128/doom-modeline.svg?label=release)](https://github.com/seagle0128/doom-modeline/releases)