Skip to content

Commit

Permalink
Merge pull request #40 from coldnew/add-travis-ci
Browse files Browse the repository at this point in the history
 Add tracis-ci support
  • Loading branch information
coldnew authored Sep 19, 2019
2 parents 2e2dc64 + 956a36f commit f928989
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
#
# Use nix-emacs-ci for travis CI
# URL: https://github.com/purcell/nix-emacs-ci
#

language: nix

os:
- linux
# - osx

env:
- EMACS_CI=emacs-24-2
- EMACS_CI=emacs-24-3
- EMACS_CI=emacs-24-4
- EMACS_CI=emacs-24-5
- EMACS_CI=emacs-25-1
- EMACS_CI=emacs-25-2
- EMACS_CI=emacs-25-3
- EMACS_CI=emacs-26-1
- EMACS_CI=emacs-26-2
- EMACS_CI=emacs-26-3
- EMACS_CI=emacs-snapshot

# emacs-24-2 and emacs-24-3 may failure on test
# just ignore it now.
matrix:
allow_failures:
- env: EMACS_CI=emacs-24-2
- env: EMACS_CI=emacs-24-3
- env: EMACS_CI=emacs-snapshot

# The default "emacs" executable on the $PATH will now be the version named by $EMACS_CI
install:
- bash <(curl https://raw.githubusercontent.com/purcell/nix-emacs-ci/master/travis-install)
- export PATH="$HOME/.cask/bin:$PATH"
- curl -fsSkL https://raw.github.com/cask/cask/master/go | python

script:
- emacs --version
- make clean
- make
- make test

# Local Variables:
# indent-tabs-mode: nil
# coding: utf-8
# End:

0 comments on commit f928989

Please sign in to comment.