From 686c7f00ef5b674ddddb65bf47ae0ef71193f87d Mon Sep 17 00:00:00 2001 From: Vincent Zhang Date: Thu, 5 Jul 2018 15:23:44 +0800 Subject: [PATCH] Add travis-ci. --- .travis.yml | 24 ++++++++++++++++++++++++ README.md | 1 + 2 files changed, 25 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..2f5b065 --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/README.md b/README.md index 2723a25..3be6b84 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # 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 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)