-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from coldnew/add-travis-ci
Add tracis-ci support
- Loading branch information
Showing
1 changed file
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |